From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Ehrhardt Subject: [PATCH 2 of 6] [PATCH] kvm-userspace: ppc: fix configure enabling kvm for ppc Date: Wed, 10 Dec 2008 16:45:48 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: ehrhardt@linux.vnet.ibm.com, c=kvm-ppc@vger.kernel.org, kvm@vger.kernel.org, hollisb@us.ibm.com To: avi@redhat.com Return-path: Received: from mtagate5.uk.ibm.com ([195.212.29.138]:63242 "EHLO mtagate5.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753642AbYLJPs0 (ORCPT ); Wed, 10 Dec 2008 10:48:26 -0500 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: # HG changeset patch # User Christian Ehrhardt # Date 1228922788 -3600 # Node ID f100b1bfa5f3d084d68bd2c66244271db1f5d084 # Parent b41f0d6129f51fb86bf799a5fe7b14a9270eeca4 [PATCH] kvm-userspace: ppc: fix configure enabling kvm for ppc From: Christian Ehrhardt The configure script is missing the target/host cpu sync for powerpc kvm. Signed-off-by: Christian Ehrhardt --- [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"