[PATCH 2 of 6] [PATCH] kvm-userspace: ppc: fix configure enabling kvm for ppc

Christian Ehrhardt
2008-12-10T15:48:26Z

# Date 1228922788 -3600
# Node ID f100b1bfa5f3d084d68bd2c66244271db1f5d084
# Parent b41f0d6129f51fb86bf799a5fe7b14a9270eeca4
[PATCH] kvm-userspace: ppc: fix configure enabling kvm for ppc

From: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>

The configure script is missing the target/host cpu sync for powerpc kvm.

Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
---

[diffstat]
configure | 1 +
1 file changed, 1 insertion(+)

[diff]

diff --git a/qemu/configure b/qemu/configure
--- a/qemu/configure
+++ b/qemu/configure
@@ -1659,6 +1659,7 @@ if [ use_upstream_kvm = yes ]; then

# Make sure the target and host cpus are compatible
if test "$kvm" = "yes" -a ! \( "$target_cpu" = "$cpu" -o \
+ \( "$target_cpu" = "ppcemb" -a "$cpu" = "powerpc" \) -o \
\( "$target_cpu" = "x86_64" -a "$cpu" = "i386" \) -o \
\( "$target_cpu" = "i386" -a "$cpu" = "x86_64" \) \) ; then
kvm="no"