[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH RFC 5/5] xen: introduce xenpv-softmmu.mak



The modification to configure is rebased on Paolo's change.

Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
 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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.