From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37657) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7ksg-00089R-GI for qemu-devel@nongnu.org; Mon, 27 Jan 2014 07:01:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7ksX-00080G-Iv for qemu-devel@nongnu.org; Mon, 27 Jan 2014 07:01:34 -0500 Received: from smtp.citrix.com ([66.165.176.89]:8988) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7ksX-0007zr-EC for qemu-devel@nongnu.org; Mon, 27 Jan 2014 07:01:25 -0500 From: Wei Liu Date: Mon, 27 Jan 2014 12:01:14 +0000 Message-ID: <1390824074-21006-7-git-send-email-wei.liu2@citrix.com> In-Reply-To: <1390824074-21006-1-git-send-email-wei.liu2@citrix.com> References: <1390824074-21006-1-git-send-email-wei.liu2@citrix.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH RFC V2 6/6] xen: introduce xenpv-softmmu.mak List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xen-devel@lists.xenproject.org, qemu-devel@nongnu.org Cc: anthony.perard@citrix.com, peter.maydell@linaro.org, pbonzini@redhat.com, Wei Liu , stefano.stabellini@eu.citrix.com Signed-off-by: Wei Liu --- configure | 7 +++++-- default-configs/xenpv-softmmu.mak | 2 ++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 default-configs/xenpv-softmmu.mak diff --git a/configure b/configure index 549b9cc..b713d93 100755 --- a/configure +++ b/configure @@ -4391,7 +4391,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 @@ -4538,6 +4538,9 @@ case "$target_name" in ;; unicore32) ;; + xenpv) + TARGET_ARCH=xenpv + ;; xtensa|xtensaeb) TARGET_ARCH=xtensa ;; @@ -4567,7 +4570,7 @@ echo "TARGET_ABI_DIR=$TARGET_ABI_DIR" >> $config_target_mak if supported_xen_target; then echo "CONFIG_XEN=y" >> $config_target_mak - if test "$xen_pci_passthrough" = yes; then + if test "$target_name" != "xenpv" -a "$xen_pci_passthrough" = yes; then echo "CONFIG_XEN_PCI_PASSTHROUGH=y" >> "$config_target_mak" fi fi 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 -- 1.7.10.4