On Mon, Jan 06, 2014 at 01:30:20PM +0000, Peter Maydell wrote:
> On 6 January 2014 12:54, Wei Liu <wei.l...@citrix.com> 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

Reply via email to