Re: [Qemu-devel] [PATCH V12 05/17] xen: Add xenfv machine

2011-04-13 Thread Stefano Stabellini
On Wed, 13 Apr 2011, Jan Kiszka wrote: > On 2011-04-13 13:49, Stefano Stabellini wrote: > > On Wed, 13 Apr 2011, Jan Kiszka wrote: > >> On 2011-04-13 12:56, Stefano Stabellini wrote: > >>> On Tue, 12 Apr 2011, Jan Kiszka wrote: > Well, either you have a use for the VCPU state (how do you do mi

Re: [Qemu-devel] [PATCH V12 05/17] xen: Add xenfv machine

2011-04-13 Thread Jan Kiszka
On 2011-04-13 13:49, Stefano Stabellini wrote: > On Wed, 13 Apr 2011, Jan Kiszka wrote: >> On 2011-04-13 12:56, Stefano Stabellini wrote: >>> On Tue, 12 Apr 2011, Jan Kiszka wrote: Well, either you have a use for the VCPU state (how do you do migration in Xen without it?), or you should p

Re: [Qemu-devel] [PATCH V12 05/17] xen: Add xenfv machine

2011-04-13 Thread Stefano Stabellini
On Wed, 13 Apr 2011, Jan Kiszka wrote: > On 2011-04-13 12:56, Stefano Stabellini wrote: > > On Tue, 12 Apr 2011, Jan Kiszka wrote: > >> Well, either you have a use for the VCPU state (how do you do migration > >> in Xen without it?), or you should probably teach QEMU in a careful & > >> clean way t

Re: [Qemu-devel] [PATCH V12 05/17] xen: Add xenfv machine

2011-04-13 Thread Jan Kiszka
On 2011-04-13 12:56, Stefano Stabellini wrote: > On Tue, 12 Apr 2011, Jan Kiszka wrote: >> Well, either you have a use for the VCPU state (how do you do migration >> in Xen without it?), or you should probably teach QEMU in a careful & >> clean way to run its device model without VCPUs - and withou

Re: [Qemu-devel] [PATCH V12 05/17] xen: Add xenfv machine

2011-04-13 Thread Stefano Stabellini
On Tue, 12 Apr 2011, Jan Kiszka wrote: > Well, either you have a use for the VCPU state (how do you do migration > in Xen without it?), or you should probably teach QEMU in a careful & > clean way to run its device model without VCPUs - and without any > TCG-related memory consumption. For the latt

Re: [Qemu-devel] [PATCH V12 05/17] xen: Add xenfv machine

2011-04-12 Thread Jan Kiszka
On 2011-04-12 16:57, Anthony PERARD wrote: > On Mon, Apr 11, 2011 at 20:55, Jan Kiszka wrote: >> >> On 2011-04-11 20:10, Anthony PERARD wrote: > } > > static CPUState *pc_new_cpu(const char *cpu_model) > @@ -952,7 +957,12 @@ void pc_cpus_init(const char *cpu_model) > #endif

Re: [Qemu-devel] [PATCH V12 05/17] xen: Add xenfv machine

2011-04-12 Thread Anthony PERARD
On Mon, Apr 11, 2011 at 20:55, Jan Kiszka wrote: > > On 2011-04-11 20:10, Anthony PERARD wrote: > >>>  } > >>> > >>>  static CPUState *pc_new_cpu(const char *cpu_model) > >>> @@ -952,7 +957,12 @@ void pc_cpus_init(const char *cpu_model) > >>>  #endif > >>>      } > >>> > >>> -    for(i = 0; i < sm

Re: [Qemu-devel] [PATCH V12 05/17] xen: Add xenfv machine

2011-04-11 Thread Anthony PERARD
On Fri, 8 Apr 2011, Jan Kiszka wrote: > [ Late comments, I know, sorry. Just happen to came across this. ] > > On 2011-03-29 20:27, anthony.per...@citrix.com wrote: > > From: Anthony PERARD > > > > Introduce the Xen FV (Fully Virtualized) machine to Qemu, some more Xen > > specific call will be a

Re: [Qemu-devel] [PATCH V12 05/17] xen: Add xenfv machine

2011-04-11 Thread Jan Kiszka
On 2011-04-11 20:10, Anthony PERARD wrote: >>> } >>> >>> static CPUState *pc_new_cpu(const char *cpu_model) >>> @@ -952,7 +957,12 @@ void pc_cpus_init(const char *cpu_model) >>> #endif >>> } >>> >>> -for(i = 0; i < smp_cpus; i++) { >>> +if (!xen_enabled()) { >>> +for(i = 0;

[Qemu-devel] [PATCH V12 05/17] xen: Add xenfv machine

2011-03-29 Thread anthony . perard
From: Anthony PERARD Introduce the Xen FV (Fully Virtualized) machine to Qemu, some more Xen specific call will be added in further patches. Signed-off-by: Anthony PERARD --- hw/pc.c | 19 +-- hw/pc_piix.c | 17 + hw/xen.h |4 3 files chang