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

Re: [Xen-devel] [PATCH] enable QEMU for ARM builds



On Thu, 2014-07-10 at 12:18 +0100, Stefano Stabellini wrote:
> 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.

As I mentioned IRL we need to confirm that this doesn't end up exposing
a protocol property in the xenstore backend dir of
XEN_IO_PROTO_ABI_X86_* instead of XEN_IO_PROTO_ABI_ARM.

Likewise we need to be sure that the code actually implements the ARM
protocol, not one of the x86 ones.

Ian.
> 
> Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
> 
> diff --git a/tools/configure b/tools/configure
> index 20f1aa9..b39012b 100755
> --- a/tools/configure
> +++ b/tools/configure
> @@ -3869,6 +3869,8 @@ else
>      case "$host_cpu" in
>          i[3456]86|x86_64)
>             qemu_xen=y;;
> +        arm*|aarch64)
> +           qemu_xen=y;;
>          *) qemu_xen=n;;
>      esac
>  
> diff --git a/tools/configure.ac b/tools/configure.ac
> index 6d70f04..d1c8e5e 100644
> --- a/tools/configure.ac
> +++ b/tools/configure.ac
> @@ -126,6 +126,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
>  ])
> 



_______________________________________________
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®.