diff mbox

Use upstream guard for kvm support in ppcemb-softmmu

Message ID 1245874395-9701-1-git-send-email-aliguori@us.ibm.com (mailing list archive)
State New, archived
Headers show

Commit Message

Anthony Liguori June 24, 2009, 8:13 p.m. UTC
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(-)

Comments

Avi Kivity June 28, 2009, 7:58 a.m. UTC | #1
On 06/24/2009 11:13 PM, Anthony Liguori wrote:
> ppcemb-softmmu uses upstream KVM support so put an appropriate guard around it.
> This fixes the non-KVM ppcemb-softmmu build.
>    

Applied, thanks.
diff mbox

Patch

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