Received: from eggs.gnu.org ([2001:4830:134:3::10]:40154) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0BvN-0000dm-IT for qemu-devel@nongnu.org; Mon, 06 Jan 2014 10:17:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W0BvI-0004AU-Qd for qemu-devel@nongnu.org; Mon, 06 Jan 2014 10:17:05 -0500 Received: from smtp.citrix.com ([66.165.176.89]:31965) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0BvI-0004AH-Ka for qemu-devel@nongnu.org; Mon, 06 Jan 2014 10:17:00 -0500 Date: Mon, 6 Jan 2014 15:12:51 +0000 From: Wei Liu Message-ID: <20140106151251.GB10654@zion.uk.xensource.com> References: <20140106125410.GD3119@zion.uk.xensource.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] Project idea: make QEMU more flexible List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Wei Liu , QEMU Developers , "xen-devel@lists.xen.org" On Mon, Jan 06, 2014 at 01:30:20PM +0000, Peter Maydell wrote: > On 6 January 2014 12:54, Wei Liu wrote: > > In fact I've already hacked a prototype during Christmas. What's I've > > done so far: > > > > 1. create target-null which only has some stubs to CPU emulation > > framework. > > > > 2. add a few lines to configure / Makefiles*, create > > default-configs/null-softmmu > > I think it would be better to add support to allow you to > configure with --disable-tcg. This would match the existing > --disable/--enable switches for KVM and Xen, and then you > could configure --disable-kvm --disable-tcg --enable-xen > and get a qemu-system-i386 or qemu-system-arm with only > the Xen support and none of the TCG emulation code. > In this case the architecture-specific code in target-* is still included which might not help reduce the size much. Wei. > thanks > -- PMM