public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] qemu-kvm: Reenable iothread mutex wrappers on !CONFIG_KVM
@ 2009-11-11 23:49 Jan Kiszka
  2009-11-15 13:45 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2009-11-11 23:49 UTC (permalink / raw)
  To: Marcelo Tosatti, Avi Kivity; +Cc: kvm

[-- Attachment #1: Type: text/plain, Size: 508 bytes --]

Needed to avoid some missing symbols when KVM is disabled.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---

 vl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-15 13:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-11 23:49 [PATCH] qemu-kvm: Reenable iothread mutex wrappers on !CONFIG_KVM Jan Kiszka
2009-11-15 13:45 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox