diff mbox

: Trivial qemu/configure fix

Message ID 4974A918.6020200@redhat.com (mailing list archive)
State Accepted
Headers show

Commit Message

Chris Lalancette Jan. 19, 2009, 4:23 p.m. UTC
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>

Comments

Avi Kivity Jan. 20, 2009, 10:31 a.m. UTC | #1
Chris Lalancette wrote:
> If kvm is *not* detected, then the qemu/configure script gets upset.  Add some
> quotes to make it happier.
>   

Applied, thanks.
diff mbox

Patch

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