public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Use upstream guard for kvm support in ppcemb-softmmu
@ 2009-06-24 20:13 Anthony Liguori
  2009-06-28  7:58 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Anthony Liguori @ 2009-06-24 20:13 UTC (permalink / raw)
  To: kvm; +Cc: Avi Kivity, Dustin Kirkland, Hollis Blanchard, Anthony Liguori

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-28  7:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-24 20:13 [PATCH] Use upstream guard for kvm support in ppcemb-softmmu Anthony Liguori
2009-06-28  7:58 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox