From: Anthony Liguori <[email protected]>

ppcemb-softmmu uses upstream KVM support so put an appropriate guard around it.
This fixes the non-KVM ppcemb-softmmu build.

Signed-off-by: Anthony Liguori <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>

diff --git a/configure b/configure
index 6d7fd89..d658cdf 100755
--- a/configure
+++ b/configure
@@ -2270,11 +2270,13 @@ case "$target_cpu" in
     echo "#define TARGET_ARCH \"ppcemb\"" >> $config_h
     echo "#define TARGET_PPC 1" >> $config_h
     echo "#define TARGET_PPCEMB 1" >> $config_h
+    if test use_upstream_kvm = yes ; then
     if test "$target_kvm" = "yes" ; then
       echo "USE_KVM=yes" >> $config_mak
       echo "KVM_CFLAGS=$kvm_cflags" >> $config_mak
       echo "#define USE_KVM 1" >> $config_h
     fi
+    fi
     gdb_xml_files="power-core.xml power-fpu.xml power-altivec.xml 
power-spe.xml"
     target_phys_bits=64
   ;;
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to