Re: [Qemu-devel] [PATCH v6 2/6] Introduce "save_devices"

2012-03-16 Thread Stefano Stabellini
On Fri, 16 Mar 2012, Eric Blake wrote: > On 03/15/2012 02:34 PM, Luiz Capitulino wrote: > > On Thu, 15 Mar 2012 15:16:15 -0500 > > Anthony Liguori wrote: > > > >> On 03/15/2012 01:19 PM, Stefano Stabellini wrote: > >>> - add an "is_ram" flag to SaveStateEntry; > >>> > >>> - register_savevm_live s

Re: [Qemu-devel] [PATCH v6 2/6] Introduce "save_devices"

2012-03-16 Thread Eric Blake
On 03/15/2012 02:34 PM, Luiz Capitulino wrote: > On Thu, 15 Mar 2012 15:16:15 -0500 > Anthony Liguori wrote: > >> On 03/15/2012 01:19 PM, Stefano Stabellini wrote: >>> - add an "is_ram" flag to SaveStateEntry; >>> >>> - register_savevm_live sets is_ram for live_savevm devices; >>> >>> - introduce

Re: [Qemu-devel] [PATCH v6 2/6] Introduce "save_devices"

2012-03-16 Thread Stefano Stabellini
On Thu, 15 Mar 2012, Luiz Capitulino wrote: > On Thu, 15 Mar 2012 15:16:15 -0500 > Anthony Liguori wrote: > > > On 03/15/2012 01:19 PM, Stefano Stabellini wrote: > > > - add an "is_ram" flag to SaveStateEntry; > > > > > > - register_savevm_live sets is_ram for live_savevm devices; > > > > > > - i

Re: [Qemu-devel] [PATCH v6 2/6] Introduce "save_devices"

2012-03-16 Thread Stefano Stabellini
On Thu, 15 Mar 2012, Anthony Liguori wrote: > > diff --git a/qapi-schema.json b/qapi-schema.json > > index d0b6792..7f938ff 100644 > > --- a/qapi-schema.json > > +++ b/qapi-schema.json > > @@ -1593,3 +1593,21 @@ > > { 'command': 'qom-list-types', > > 'data': { '*implements': 'str', '*abstract

Re: [Qemu-devel] [PATCH v6 2/6] Introduce "save_devices"

2012-03-15 Thread Luiz Capitulino
On Thu, 15 Mar 2012 15:16:15 -0500 Anthony Liguori wrote: > On 03/15/2012 01:19 PM, Stefano Stabellini wrote: > > - add an "is_ram" flag to SaveStateEntry; > > > > - register_savevm_live sets is_ram for live_savevm devices; > > > > - introduce a "save_devices" QAPI command that can be used to sav

Re: [Qemu-devel] [PATCH v6 2/6] Introduce "save_devices"

2012-03-15 Thread Anthony Liguori
On 03/15/2012 01:19 PM, Stefano Stabellini wrote: - add an "is_ram" flag to SaveStateEntry; - register_savevm_live sets is_ram for live_savevm devices; - introduce a "save_devices" QAPI command that can be used to save the state of all devices, but not the RAM or the block devices of the VM. C

[Qemu-devel] [PATCH v6 2/6] Introduce "save_devices"

2012-03-15 Thread Stefano Stabellini
- add an "is_ram" flag to SaveStateEntry; - register_savevm_live sets is_ram for live_savevm devices; - introduce a "save_devices" QAPI command that can be used to save the state of all devices, but not the RAM or the block devices of the VM. Changes in v6: - remove the is_ram parameter from re