From: Jan Kiszka <jan.kiszka@web.de>
To: Marcelo Tosatti <mtosatti@redhat.com>, Avi Kivity <avi@redhat.com>
Cc: kvm <kvm@vger.kernel.org>
Subject: [PATCH] qemu-kvm: Reenable iothread mutex wrappers on !CONFIG_KVM
Date: Thu, 12 Nov 2009 00:49:46 +0100 [thread overview]
Message-ID: <4AFB4D9A.3080705@web.de> (raw)
[-- 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 --]
next reply other threads:[~2009-11-11 23:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-11 23:49 Jan Kiszka [this message]
2009-11-15 13:45 ` [PATCH] qemu-kvm: Reenable iothread mutex wrappers on !CONFIG_KVM Avi Kivity
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AFB4D9A.3080705@web.de \
--to=jan.kiszka@web.de \
--cc=avi@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=mtosatti@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox