From: Jan Kiszka <[email protected]>

Needed to avoid some missing symbols when KVM is disabled.

Signed-off-by: Jan Kiszka <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>

diff --git a/vl.c b/vl.c
index 594ca34..6556075 100644
--- a/vl.c
+++ b/vl.c
@@ -3443,7 +3443,7 @@ void qemu_notify_event(void)
     }
 }
 
-#ifdef KVM_UPSTREAM
+#if defined(KVM_UPSTREAM) || !defined(CONFIG_KVM)
 void qemu_mutex_lock_iothread(void) {}
 void qemu_mutex_unlock_iothread(void) {}
 #endif
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to