From patchwork Thu Jan 23 22:16:06 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Liu X-Patchwork-Id: 313750 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id BE6592C0096 for ; Fri, 24 Jan 2014 09:18:26 +1100 (EST) Received: from localhost ([::1]:43472 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6SbQ-0001OJ-Hn for incoming@patchwork.ozlabs.org; Thu, 23 Jan 2014 17:18:24 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53535) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6SZT-00081p-RH for qemu-devel@nongnu.org; Thu, 23 Jan 2014 17:16:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W6SZF-0002Er-St for qemu-devel@nongnu.org; Thu, 23 Jan 2014 17:16:23 -0500 Received: from smtp.citrix.com ([66.165.176.89]:44082) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6SZF-0002ES-ON for qemu-devel@nongnu.org; Thu, 23 Jan 2014 17:16:09 -0500 X-IronPort-AV: E=Sophos;i="4.95,708,1384300800"; d="scan'208";a="95963568" Received: from accessns.citrite.net (HELO FTLPEX01CL01.citrite.net) ([10.9.154.239]) by FTLPIPO01.CITRIX.COM with ESMTP; 23 Jan 2014 22:16:08 +0000 Received: from ukmail1.uk.xensource.com (10.80.16.128) by smtprelay.citrix.com (10.13.107.78) with Microsoft SMTP Server id 14.2.342.4; Thu, 23 Jan 2014 17:16:08 -0500 Received: from dt47.uk.xensource.com ([10.80.229.47] helo=dt47.uk.xensource.com.) by ukmail1.uk.xensource.com with esmtp (Exim 4.69) (envelope-from ) id 1W6SZD-0000da-32; Thu, 23 Jan 2014 22:16:07 +0000 From: Wei Liu To: , Date: Thu, 23 Jan 2014 22:16:06 +0000 Message-ID: <1390515366-32236-6-git-send-email-wei.liu2@citrix.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1390515366-32236-1-git-send-email-wei.liu2@citrix.com> References: <1390515366-32236-1-git-send-email-wei.liu2@citrix.com> MIME-Version: 1.0 X-DLP: MIA2 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 66.165.176.89 Cc: anthony.perard@citrix.com, peter.maydell@linaro.org, Wei Liu , stefano.stabellini@eu.citrix.com Subject: [Qemu-devel] [PATCH RFC 5/5] xen: introduce xenpv-softmmu.mak X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org The modification to configure is rebased on Paolo's change. Signed-off-by: Wei Liu --- configure | 13 +++++++++---- default-configs/xenpv-softmmu.mak | 2 ++ 2 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 default-configs/xenpv-softmmu.mak diff --git a/configure b/configure index 1e515be..324270c 100755 --- a/configure +++ b/configure @@ -4283,7 +4283,7 @@ supported_xen_target() { test "$xen" = "yes" || return 1 test "$target_softmmu" = "yes" || return 1 case "$target_name:$cpu" in - i386:i386 | i386:x86_64 | x86_64:i386 | x86_64:x86_64) + i386:i386 | i386:x86_64 | x86_64:i386 | x86_64:x86_64 | xenpv:*) return 0 ;; esac @@ -4443,6 +4443,9 @@ case "$target_name" in ;; unicore32) ;; + xenpv) + TARGET_ARCH=xenpv + ;; xtensa|xtensaeb) TARGET_ARCH=xtensa ;; @@ -4472,9 +4475,11 @@ echo "TARGET_ABI_DIR=$TARGET_ABI_DIR" >> $config_target_mak if supported_xen_target; then echo "CONFIG_XEN=y" >> $config_target_mak - echo "CONFIG_XEN_I386=y" >> $config_target_mak - if test "$xen_pci_passthrough" = yes; then - echo "CONFIG_XEN_PCI_PASSTHROUGH=y" >> "$config_target_mak" + if test "$target_name" != "xenpv"; then + echo "CONFIG_XEN_I386=y" >> $config_target_mak + if test "$xen_pci_passthrough" = yes; then + echo "CONFIG_XEN_PCI_PASSTHROUGH=y" >> "$config_target_mak" + fi fi fi if supported_kvm_target; then diff --git a/default-configs/xenpv-softmmu.mak b/default-configs/xenpv-softmmu.mak new file mode 100644 index 0000000..773f128 --- /dev/null +++ b/default-configs/xenpv-softmmu.mak @@ -0,0 +1,2 @@ +# Default configuration for xenpv-softmmu +# Yes it is empty as we don't need to include any device emulation code