From: Wei Liu Subject: [PATCH RFC 5/5] xen: introduce xenpv-softmmu.mak Date: Thu, 23 Jan 2014 22:16:06 +0000 Message-ID: <1390515366-32236-6-git-send-email-wei.liu2@citrix.com> References: <1390515366-32236-1-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1390515366-32236-1-git-send-email-wei.liu2@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org, qemu-devel@nongnu.org Cc: anthony.perard@citrix.com, peter.maydell@linaro.org, Wei Liu , stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.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 -- 1.7.10.4