From patchwork Wed Jun 24 20:13:15 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony Liguori X-Patchwork-Id: 32253 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n5OKDOgI017714 for ; Wed, 24 Jun 2009 20:13:24 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752012AbZFXUNS (ORCPT ); Wed, 24 Jun 2009 16:13:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751849AbZFXUNS (ORCPT ); Wed, 24 Jun 2009 16:13:18 -0400 Received: from e35.co.us.ibm.com ([32.97.110.153]:41404 "EHLO e35.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751485AbZFXUNS (ORCPT ); Wed, 24 Jun 2009 16:13:18 -0400 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e35.co.us.ibm.com (8.13.1/8.13.1) with ESMTP id n5OK5vBP001201 for ; Wed, 24 Jun 2009 14:05:57 -0600 Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169]) by d03relay04.boulder.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n5OKDI50207498 for ; Wed, 24 Jun 2009 14:13:18 -0600 Received: from d03av03.boulder.ibm.com (loopback [127.0.0.1]) by d03av03.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n5OKDHuE001642 for ; Wed, 24 Jun 2009 14:13:18 -0600 Received: from localhost.localdomain (sig-9-48-84-240.mts.ibm.com [9.48.84.240]) by d03av03.boulder.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n5OKDGx4001602; Wed, 24 Jun 2009 14:13:16 -0600 From: Anthony Liguori To: kvm@vger.kernel.org Cc: Avi Kivity , Dustin Kirkland , Hollis Blanchard , Anthony Liguori Subject: [PATCH] Use upstream guard for kvm support in ppcemb-softmmu Date: Wed, 24 Jun 2009 15:13:15 -0500 Message-Id: <1245874395-9701-1-git-send-email-aliguori@us.ibm.com> X-Mailer: git-send-email 1.6.2.5 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org 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 --- 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 ;;