From: Chris Lalancette <clalance@redhat.com>
To: kvm@vger.kernel.org
Subject: [PATCH]: Trivial qemu/configure fix
Date: Mon, 19 Jan 2009 17:23:52 +0100 [thread overview]
Message-ID: <4974A918.6020200@redhat.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 161 bytes --]
If kvm is *not* detected, then the qemu/configure script gets upset. Add some
quotes to make it happier.
Signed-off-by: Chris Lalancette <clalance@redhat.com>
[-- Attachment #2: kvm-configure-fix.patch --]
[-- Type: text/x-patch, Size: 488 bytes --]
diff --git a/qemu/configure b/qemu/configure
index ff4a462..107699a 100755
--- a/qemu/configure
+++ b/qemu/configure
@@ -1642,7 +1642,7 @@ disable_cpu_emulation() {
}
configure_kvm() {
- if test $kvm = "yes" -a "$target_softmmu" = "yes" -a \
+ if test "$kvm" = "yes" -a "$target_softmmu" = "yes" -a \
\( "$cpu" = "i386" -o "$cpu" = "x86_64" -o "$cpu" = "ia64" -o "$cpu" = "powerpc" \); then
echo "#define USE_KVM 1" >> $config_h
echo "USE_KVM=1" >> $config_mak
next reply other threads:[~2009-01-19 16:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-19 16:23 Chris Lalancette [this message]
2009-01-20 10:31 ` [PATCH]: Trivial qemu/configure fix 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=4974A918.6020200@redhat.com \
--to=clalance@redhat.com \
--cc=kvm@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.