From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=36931 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OnV8p-0006BO-Uc for qemu-devel@nongnu.org; Mon, 23 Aug 2010 07:24:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OnUwL-0003PK-DF for qemu-devel@nongnu.org; Mon, 23 Aug 2010 07:11:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48429) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OnUwL-0003P6-6W for qemu-devel@nongnu.org; Mon, 23 Aug 2010 07:11:45 -0400 From: Juan Quintela 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") References: <1282557052-14285-3-git-send-email-stefano.stabellini@eu.citrix.com> Date: Mon, 23 Aug 2010 13:09:23 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Qemu-devel] Re: [PATCH 03/15] xen: Add a new target to qemu: target-xen List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: stefano.stabellini@eu.citrix.com Cc: Anthony.Perard@citrix.com, xen-devel@lists.xensource.com, qemu-devel@nongnu.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. From mboxrd@z Thu Jan 1 00:00:00 1970 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.