[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT 321c1cb] fix vl.c compilation if CONFIG_KVM is no
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT 321c1cb] fix vl.c compilation if CONFIG_KVM is not defined |
Date: |
Wed, 09 Sep 2009 22:37:00 -0000 |
From: Jean-Christophe DUBOIS <address@hidden>
vl.c will not link if CONFIG_KVM is not defined.
This patch fixes the problem.
Signed-off-by: Jean-Christophe Dubois <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
diff --git a/vl.c b/vl.c
index 6d535b9..4205fea 100644
--- a/vl.c
+++ b/vl.c
@@ -3671,7 +3671,8 @@ static void *kvm_cpu_thread_fn(void *arg)
block_io_signals();
qemu_thread_self(env->thread);
- kvm_init_vcpu(env);
+ if (kvm_enabled())
+ kvm_init_vcpu(env);
/* signal CPU creation */
qemu_mutex_lock(&qemu_global_mutex);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT 321c1cb] fix vl.c compilation if CONFIG_KVM is not defined,
Anthony Liguori <=