mirror of https://github.com/xqemu/xqemu.git
fix vl.c compilation if CONFIG_KVM is not defined
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>
This commit is contained in:
parent
4d22419661
commit
321c1cb10b
3
vl.c
3
vl.c
|
@ -3671,7 +3671,8 @@ static void *kvm_cpu_thread_fn(void *arg)
|
||||||
|
|
||||||
block_io_signals();
|
block_io_signals();
|
||||||
qemu_thread_self(env->thread);
|
qemu_thread_self(env->thread);
|
||||||
kvm_init_vcpu(env);
|
if (kvm_enabled())
|
||||||
|
kvm_init_vcpu(env);
|
||||||
|
|
||||||
/* signal CPU creation */
|
/* signal CPU creation */
|
||||||
qemu_mutex_lock(&qemu_global_mutex);
|
qemu_mutex_lock(&qemu_global_mutex);
|
||||||
|
|
Loading…
Reference in New Issue