From: Juan Quintela Subject: Re: [PATCH 03/15] xen: Add a new target to qemu: target-xen Date: Mon, 23 Aug 2010 13:09:23 +0200 Message-ID: References: <1282557052-14285-3-git-send-email-stefano.stabellini@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: <1282557052-14285-3-git-send-email-stefano.stabellini@eu.citrix.com> (stefano stabellini's message of "Mon, 23 Aug 2010 10:50:40 +0100") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org To: stefano.stabellini@eu.citrix.com Cc: Anthony.Perard@citrix.com, xen-devel@lists.xensource.com, qemu-devel@nongnu.org List-Id: xen-devel@lists.xenproject.org stefano.stabellini@eu.citrix.com wrote: > From: Anthony PERARD > > This patch adds a new Xen device model target to Qemu, called > target-xen. > The new target makes use of the previously introduced xen_machine_fv. > In order to have a fully working Xen device model we still need > functionalities introduced by the following patches. > > Signed-off-by: Anthony PERARD > Signed-off-by: Stefano Stabellini .... > diff --git a/Makefile.target b/Makefile.target > index 8fdc884..359a984 100644 > --- a/Makefile.target > +++ b/Makefile.target > @@ -183,9 +183,6 @@ QEMU_CFLAGS += $(VNC_PNG_CFLAGS) > # xen backend driver support .... > +# Xen Device Model > +# xen full virtualized machine > + > +# Remove some lib, because we don't want it for a xen target. > +ifeq ($(TARGET_BASE_ARCH), xen) > +bad-libobj-y = exec.o translate-all.o cpu-exec.o translate.o > +bad-libobj-y += tcg%.o fpu/%.o > +bad-libobj-y += disas.o op_helper.o > +libobj-y := $(filter-out $(bad-libobj-y), $(libobj-y)) > +endif This is a hack (to call it something). Can we have a proper fix for this? Just putting that files under tcg-libobj-y (or something like that), and add it only to some targets. There is (another similar bad hack) on qemu-kvm.git to disable them for ia64. Can we get something saner here? Later, Juan. PD. No, this is not xen specific, disabling compilation of tcg on qemu is basically imposible.