[PATCH] Use upstream guard for kvm support in ppcemb-softmmu

Anthony Liguori
2009-06-24T20:13:18Z

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 <aliguori@us.ibm.com>
---
configure | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index 420e101..4bad3c3 100755
--- a/configure
+++ b/configure
@@ -2261,11 +2261,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
;;
--
1.6.2.5