projects
/
qemu
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d22419
)
fix vl.c compilation if CONFIG_KVM is not defined
author
Jean-Christophe DUBOIS
<jcd@tribudubois.net>
Wed, 2 Sep 2009 21:59:04 +0000
(23:59 +0200)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Wed, 9 Sep 2009 19:57:21 +0000
(14:57 -0500)
vl.c will not link if CONFIG_KVM is not defined.
This patch fixes the problem.
Signed-off-by: Jean-Christophe Dubois <jcd@tribudubois.net>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
vl.c
patch
|
blob
|
history
diff --git
a/vl.c
b/vl.c
index
6d535b9
..
4205fea
100644
(file)
--- 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);