public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH]: Trivial qemu/configure fix
@ 2009-01-19 16:23 Chris Lalancette
  2009-01-20 10:31 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Lalancette @ 2009-01-19 16:23 UTC (permalink / raw)
  To: kvm

[-- 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

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

end of thread, other threads:[~2009-01-20 10:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-19 16:23 [PATCH]: Trivial qemu/configure fix Chris Lalancette
2009-01-20 10:31 ` Avi Kivity

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