Skip to contentSkip to conversation

qemu-kvm: Reenable iothread mutex wrappers on !CONFIG_KVM

PATCH Applied Jan Kiszka 2 participants 2 messages Nov 11, 2009 – Nov 15, 2009 KVM

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 qemu-kvm: Reenable iothread mutex wrappers on !CONFIG_KVM

Needed to avoid some missing symbols when KVM is disabled.

---

 vl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
vl.c +1 -1
index 594ca34..6556075 100644
@@ -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
Applied
#1 lore raw
Quoted 2 lines · Jan Kiszka

Needed to avoid some missing symbols when KVM is disabled.

Applied, thanks.

Signature · 1 line
error compiling committee.c: too many arguments to function