Skip to contentSkip to conversation

: Trivial qemu/configure fix

PATCH Applied Chris Lalancette 2 participants 2 messages Jan 19, 2009 – Jan 20, 2009 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : Trivial qemu/configure fix

If kvm is *not* detected, then the qemu/configure script gets upset. Add some quotes to make it happier.

qemu/configure +1 -1
index ff4a462..107699a 100755
@@ -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
Applied
#1 lore raw
Quoted 3 lines · Chris Lalancette

If kvm is *not* detected, then the qemu/configure script gets upset. Add some quotes to make it happier.

Applied, thanks.

Signature · 1 line
error compiling committee.c: too many arguments to function