Re: [Qemu-devel] [Xen-devel] Project idea: make QEMU more flexible

2014-02-03 Thread Paolo Bonzini
Il 23/01/2014 17:23, Wei Liu ha scritto: On Thu, Jan 23, 2014 at 01:54:40PM +, Wei Liu wrote: On Thu, Jan 23, 2014 at 10:11:57AM +0100, Paolo Bonzini wrote: Il 22/01/2014 17:09, Wei Liu ha scritto: On Wed, Jan 22, 2014 at 11:20:38AM +0100, Paolo Bonzini wrote: Il 21/01/2014 19:27, Wei Liu

Re: [Qemu-devel] [Xen-devel] Project idea: make QEMU more flexible

2014-01-23 Thread Wei Liu
On Thu, Jan 23, 2014 at 01:54:40PM +, Wei Liu wrote: > On Thu, Jan 23, 2014 at 10:11:57AM +0100, Paolo Bonzini wrote: > > Il 22/01/2014 17:09, Wei Liu ha scritto: > > >On Wed, Jan 22, 2014 at 11:20:38AM +0100, Paolo Bonzini wrote: > > >>Il 21/01/2014 19:27, Wei Liu ha scritto: > > > > > >>>

Re: [Qemu-devel] [Xen-devel] Project idea: make QEMU more flexible

2014-01-23 Thread Wei Liu
On Thu, Jan 23, 2014 at 10:11:57AM +0100, Paolo Bonzini wrote: > Il 22/01/2014 17:09, Wei Liu ha scritto: > >On Wed, Jan 22, 2014 at 11:20:38AM +0100, Paolo Bonzini wrote: > >>Il 21/01/2014 19:27, Wei Liu ha scritto: > > > >Googling "disable tcg" would have provided an answer, but the patch

Re: [Qemu-devel] [Xen-devel] Project idea: make QEMU more flexible

2014-01-23 Thread Paolo Bonzini
Il 22/01/2014 17:09, Wei Liu ha scritto: On Wed, Jan 22, 2014 at 11:20:38AM +0100, Paolo Bonzini wrote: Il 21/01/2014 19:27, Wei Liu ha scritto: Googling "disable tcg" would have provided an answer, but the patches were old enough to be basically useless. I'll refresh the current version in t

Re: [Qemu-devel] [Xen-devel] Project idea: make QEMU more flexible

2014-01-22 Thread Wei Liu
On Wed, Jan 22, 2014 at 11:20:38AM +0100, Paolo Bonzini wrote: > Il 21/01/2014 19:27, Wei Liu ha scritto: > >>> > >>> Googling "disable tcg" would have provided an answer, but the patches > >>> were old enough to be basically useless. I'll refresh the current > >>> version in the next few days. C

Re: [Qemu-devel] [Xen-devel] Project idea: make QEMU more flexible

2014-01-22 Thread Wei Liu
On Wed, Jan 22, 2014 at 11:20:38AM +0100, Paolo Bonzini wrote: > Il 21/01/2014 19:27, Wei Liu ha scritto: > >>> > >>> Googling "disable tcg" would have provided an answer, but the patches > >>> were old enough to be basically useless. I'll refresh the current > >>> version in the next few days. C

Re: [Qemu-devel] [Xen-devel] Project idea: make QEMU more flexible

2014-01-22 Thread Paolo Bonzini
Il 21/01/2014 19:27, Wei Liu ha scritto: > > Googling "disable tcg" would have provided an answer, but the patches > were old enough to be basically useless. I'll refresh the current > version in the next few days. Currently I am (or try to be) on > vacation, so I cannot really say when, but I'

Re: [Qemu-devel] [Xen-devel] Project idea: make QEMU more flexible

2014-01-21 Thread Wei Liu
On Tue, Jan 07, 2014 at 02:32:38PM +0100, Paolo Bonzini wrote: > Il 07/01/2014 13:34, Wei Liu ha scritto: > > On Mon, Jan 06, 2014 at 09:53:37PM +0100, Paolo Bonzini wrote: > >> Il 06/01/2014 19:00, Andreas Färber ha scritto: > >>> Am 06.01.2014 16:39, schrieb Anthony Liguori: > We already hav

Re: [Qemu-devel] [Xen-devel] Project idea: make QEMU more flexible

2014-01-07 Thread Wei Liu
On Tue, Jan 07, 2014 at 02:32:38PM +0100, Paolo Bonzini wrote: > Il 07/01/2014 13:34, Wei Liu ha scritto: > > On Mon, Jan 06, 2014 at 09:53:37PM +0100, Paolo Bonzini wrote: > >> Il 06/01/2014 19:00, Andreas Färber ha scritto: > >>> Am 06.01.2014 16:39, schrieb Anthony Liguori: > We already hav

Re: [Qemu-devel] [Xen-devel] Project idea: make QEMU more flexible

2014-01-07 Thread Paolo Bonzini
Il 07/01/2014 13:34, Wei Liu ha scritto: > On Mon, Jan 06, 2014 at 09:53:37PM +0100, Paolo Bonzini wrote: >> Il 06/01/2014 19:00, Andreas Färber ha scritto: >>> Am 06.01.2014 16:39, schrieb Anthony Liguori: We already have accel=xen. I'm echoing Peter's suggestion of having the ability t

Re: [Qemu-devel] [Xen-devel] Project idea: make QEMU more flexible

2014-01-07 Thread Stefano Stabellini
On Mon, 6 Jan 2014, Wei Liu wrote: > On Mon, Jan 06, 2014 at 07:12:07PM +0100, Andreas Färber wrote: > > Am 06.01.2014 16:12, schrieb Wei Liu: > > > On Mon, Jan 06, 2014 at 01:30:20PM +, Peter Maydell wrote: > > >> On 6 January 2014 12:54, Wei Liu wrote: > > >>> In fact I've already hacked a p

Re: [Qemu-devel] [Xen-devel] Project idea: make QEMU more flexible

2014-01-07 Thread Wei Liu
On Mon, Jan 06, 2014 at 09:53:37PM +0100, Paolo Bonzini wrote: > Il 06/01/2014 19:00, Andreas Färber ha scritto: > > Am 06.01.2014 16:39, schrieb Anthony Liguori: > >> We already have accel=xen. I'm echoing Peter's suggestion of having the > >> ability to compile out accel=tcg. > > > > Didn't you

Re: [Qemu-devel] [Xen-devel] Project idea: make QEMU more flexible

2014-01-06 Thread Paolo Bonzini
Il 06/01/2014 16:04, Peter Maydell ha scritto: > On 6 January 2014 14:54, Stefano Stabellini > wrote: >> How would you avoid the compilation of all the >> unnecessary emulated devices? > > Didn't we have some patches for doing a Kconfig-style > "select the devices you need" build recently? It wa

Re: [Qemu-devel] [Xen-devel] Project idea: make QEMU more flexible

2014-01-06 Thread Paolo Bonzini
Il 06/01/2014 19:00, Andreas Färber ha scritto: > Am 06.01.2014 16:39, schrieb Anthony Liguori: >> We already have accel=xen. I'm echoing Peter's suggestion of having the >> ability to compile out accel=tcg. > > Didn't you and Paolo even have patches for that a while ago? Yes, but some code shuf

Re: [Qemu-devel] [Xen-devel] Project idea: make QEMU more flexible

2014-01-06 Thread Stefano Stabellini
On Mon, 6 Jan 2014, Anthony Liguori wrote: > On Mon, Jan 6, 2014 at 7:57 AM, Stefano Stabellini > wrote: > > On Mon, 6 Jan 2014, Anthony Liguori wrote: > >> On Jan 6, 2014 6:55 AM, "Stefano Stabellini" > >> wrote: > >> > > >> > On Mon, 6 Jan 2014, Anthony Liguori wrote: > >> > > On Jan 6, 2014 6

Re: [Qemu-devel] [Xen-devel] Project idea: make QEMU more flexible

2014-01-06 Thread Andreas Färber
Am 06.01.2014 16:39, schrieb Anthony Liguori: > We already have accel=xen. I'm echoing Peter's suggestion of having the > ability to compile out accel=tcg. Didn't you and Paolo even have patches for that a while ago? Cheers, Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, G

Re: [Qemu-devel] [Xen-devel] Project idea: make QEMU more flexible

2014-01-06 Thread Anthony Liguori
On Mon, Jan 6, 2014 at 7:57 AM, Stefano Stabellini wrote: > On Mon, 6 Jan 2014, Anthony Liguori wrote: >> On Jan 6, 2014 6:55 AM, "Stefano Stabellini" >> wrote: >> > >> > On Mon, 6 Jan 2014, Anthony Liguori wrote: >> > > On Jan 6, 2014 6:23 AM, "Peter Maydell" wrote: >> > > > >> > > > On 6 Janu

Re: [Qemu-devel] [Xen-devel] Project idea: make QEMU more flexible

2014-01-06 Thread Stefano Stabellini
On Mon, 6 Jan 2014, Anthony Liguori wrote: > On Jan 6, 2014 6:55 AM, "Stefano Stabellini" > wrote: > > > > On Mon, 6 Jan 2014, Anthony Liguori wrote: > > > On Jan 6, 2014 6:23 AM, "Peter Maydell" wrote: > > > > > > > > On 6 January 2014 14:17, Stefano Stabellini > > > > wrote: > > > > > It does

Re: [Qemu-devel] [Xen-devel] Project idea: make QEMU more flexible

2014-01-06 Thread Anthony Liguori
On Jan 6, 2014 6:55 AM, "Stefano Stabellini" < stefano.stabell...@eu.citrix.com> wrote: > > On Mon, 6 Jan 2014, Anthony Liguori wrote: > > On Jan 6, 2014 6:23 AM, "Peter Maydell" wrote: > > > > > > On 6 January 2014 14:17, Stefano Stabellini > > > wrote: > > > > It doesn't do any emulation so it

Re: [Qemu-devel] [Xen-devel] Project idea: make QEMU more flexible

2014-01-06 Thread Peter Maydell
On 6 January 2014 14:54, Stefano Stabellini wrote: > How would you avoid the compilation of all the > unnecessary emulated devices? Didn't we have some patches for doing a Kconfig-style "select the devices you need" build recently? -- PMM

Re: [Qemu-devel] [Xen-devel] Project idea: make QEMU more flexible

2014-01-06 Thread Stefano Stabellini
On Mon, 6 Jan 2014, Anthony Liguori wrote: > On Jan 6, 2014 6:23 AM, "Peter Maydell" wrote: > > > > On 6 January 2014 14:17, Stefano Stabellini > > wrote: > > > It doesn't do any emulation so it is not specific to any architecture or > > > any cpu. > > > > You presumably still care about the comp

Re: [Qemu-devel] [Xen-devel] Project idea: make QEMU more flexible

2014-01-06 Thread Anthony Liguori
On Jan 6, 2014 6:23 AM, "Peter Maydell" wrote: > > On 6 January 2014 14:17, Stefano Stabellini > wrote: > > It doesn't do any emulation so it is not specific to any architecture or > > any cpu. > > You presumably still care about the compiled in values of > TARGET_WORDS_BIGENDIAN, TARGET_LONG_SIZ

Re: [Qemu-devel] [Xen-devel] Project idea: make QEMU more flexible

2014-01-06 Thread Peter Maydell
On 6 January 2014 14:17, Stefano Stabellini wrote: > It doesn't do any emulation so it is not specific to any architecture or > any cpu. You presumably still care about the compiled in values of TARGET_WORDS_BIGENDIAN, TARGET_LONG_SIZE, and so on... thanks -- PMM

Re: [Qemu-devel] [Xen-devel] Project idea: make QEMU more flexible

2014-01-06 Thread Stefano Stabellini
On Mon, 6 Jan 2014, Frediano Ziglio wrote: > On Mon, 2014-01-06 at 12:54 +, Wei Liu wrote: > > Hi all > > > > This idea is to modify QEMU's Makefiles, plus implementing some stubs to > > make it possible to tailor QEMU to a smaller binary. > > > > The current setup for Xen on X86 is to build

Re: [Qemu-devel] [Xen-devel] Project idea: make QEMU more flexible

2014-01-06 Thread Frediano Ziglio
On Mon, 2014-01-06 at 12:54 +, Wei Liu wrote: > Hi all > > This idea is to modify QEMU's Makefiles, plus implementing some stubs to > make it possible to tailor QEMU to a smaller binary. > > The current setup for Xen on X86 is to build i386-softmmu, and uses this > single binary for two purpo