aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-09-18 13:41:20 +0200
committerMarcelo Tosatti <mtosatti@redhat.com>2009-09-18 16:26:07 -0300
commit090f035b0bd0ccd0c88916d4e05d0351d5622ca0 (patch)
treeda48a17ea550651ce8b443e6113c91c1a0be49c6 /configure
parentBring ia64 to current arch selection code (diff)
downloadqemu-kvm-090f035b0bd0ccd0c88916d4e05d0351d5622ca0.tar.gz
qemu-kvm-090f035b0bd0ccd0c88916d4e05d0351d5622ca0.tar.bz2
qemu-kvm-090f035b0bd0ccd0c88916d4e05d0351d5622ca0.zip
Use configure way of enabling kvm
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 1 insertions, 6 deletions
diff --git a/configure b/configure
index edf46ee79..7e516441e 100755
--- a/configure
+++ b/configure
@@ -362,19 +362,14 @@ AIX)
usb="linux"
if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then
audio_possible_drivers="$audio_possible_drivers fmod"
- kvm="yes"
fi
if [ "$cpu" = "ia64" ] ; then
- kvm="yes"
xen="no"
target_list="ia64-softmmu"
cpu_emulation="no"
gdbstub="no"
slirp="no"
fi
- if [ "$cpu" = "powerpc" ]; then
- kvm="yes"
- fi
;;
esac
@@ -926,7 +921,7 @@ esac
kvm_cflags=""
-if test "$kvm" = "yes" ; then
+if test "$kvm" != "no" ; then
kvm_cflags="-I$source_path/kvm/include"
kvm_cflags="$kvm_cflags -I$source_path/kvm/include/$kvm_arch"