]> xenbits.xensource.com Git - xen.git/commitdiff
tools: enable QEMU for ARM builds
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 1 Aug 2014 15:32:19 +0000 (16:32 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 23 Sep 2014 13:15:52 +0000 (14:15 +0100)
Build qemu-xen on ARM and ARM64: it is used to provide the PV backends,
disk and framebuffer in particular.

Ideally we would also modify the configure options to only build what is
necessary: a machine just for PV backends. However that is a work in
progress and not yet available in QEMU (see
http://marc.info/?l=qemu-devel&m=139082425718379&w=2). So we just build
the usual i386 target, even though no i386 emulation is going to be done
by qemu-xen on ARM.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
tools/configure
tools/configure.ac

index 705559573f7edacfab4e44e1b1a1d9870b6a7903..78bcb6bb001d4ee3c59e8fc421c0b06af1aa7235 100755 (executable)
@@ -4045,6 +4045,8 @@ else
     case "$host_cpu" in
         i[3456]86|x86_64)
            qemu_xen=y;;
+        arm*|aarch64)
+           qemu_xen=y;;
         *) qemu_xen=n;;
     esac
 
index f44b9f3a7b6c81f12045e6f59ccb359b8475e8d2..4f454187834e40f35b638c61856c0eba7765a2ce 100644 (file)
@@ -150,6 +150,8 @@ AC_ARG_WITH([system-qemu],
     case "$host_cpu" in
         i[[3456]]86|x86_64)
            qemu_xen=y;;
+        arm*|aarch64)
+           qemu_xen=y;;
         *) qemu_xen=n;;
     esac
 ])