From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Bader Subject: Re: [PATCH] enable QEMU for ARM builds Date: Thu, 10 Jul 2014 16:59:31 +0200 Message-ID: <53BEAA53.2010205@canonical.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini , xen-devel@lists.xensource.com Cc: Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org On 10.07.2014 13:18, Stefano Stabellini wrote: > Build qemu-xen on ARM and ARM64: it is used to provide the PV backends, > disk and framebuffer in particular. In the Ubuntu packaging I moved to not build qemu from Xen to just depend on the qemu package (which should be the same) at least for x86. Since I have no Arm hw on my own, all the arm builds are more of a theoretical exercise (no feedback from anyone actually trying). This sounds like I should (again) depend on a qemu-system-x86, even for the Arm packages. Is that right? -Stefan > > 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 > > 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@lists.xen.org > http://lists.xen.org/xen-devel >