Re: [Qemu-devel] [PATCH v7 2/6] Introduce "save-devices-state"

2012-03-19 Thread Stefano Stabellini
On Fri, 16 Mar 2012, Eric Blake wrote: > On 03/16/2012 09:58 AM, Anthony Liguori wrote: > > >>> +These operations are normally used with migration (see migration.txt), > >>> +however it is also possible to save the state of all devices to file, > >>> +without saving the RAM or the block devices of

Re: [Qemu-devel] [PATCH v7 2/6] Introduce "save-devices-state"

2012-03-16 Thread Luiz Capitulino
On Fri, 16 Mar 2012 09:49:55 -0600 Eric Blake wrote: > On 03/16/2012 06:13 AM, Stefano Stabellini wrote: > > - add an "is_ram" flag to SaveStateEntry; > > > > - register_savevm_live sets is_ram for live_savevm devices; > > > > - introduce a "save-devices-state" QAPI command that can be used to

Re: [Qemu-devel] [PATCH v7 2/6] Introduce "save-devices-state"

2012-03-16 Thread Eric Blake
On 03/16/2012 09:58 AM, Anthony Liguori wrote: >>> +These operations are normally used with migration (see migration.txt), >>> +however it is also possible to save the state of all devices to file, >>> +without saving the RAM or the block devices of the VM. >>> + >>> +This operation is called "sav

Re: [Qemu-devel] [PATCH v7 2/6] Introduce "save-devices-state"

2012-03-16 Thread Stefano Stabellini
On Fri, 16 Mar 2012, Eric Blake wrote: > On 03/16/2012 06:13 AM, Stefano Stabellini wrote: > > - add an "is_ram" flag to SaveStateEntry; > > > > - register_savevm_live sets is_ram for live_savevm devices; > > > > - introduce a "save-devices-state" QAPI command that can be used to save > > the sta

Re: [Qemu-devel] [PATCH v7 2/6] Introduce "save-devices-state"

2012-03-16 Thread Anthony Liguori
On 03/16/2012 10:49 AM, Eric Blake wrote: On 03/16/2012 06:13 AM, Stefano Stabellini wrote: - add an "is_ram" flag to SaveStateEntry; - register_savevm_live sets is_ram for live_savevm devices; - introduce a "save-devices-state" QAPI command that can be used to save the state of all devices, b

Re: [Qemu-devel] [PATCH v7 2/6] Introduce "save-devices-state"

2012-03-16 Thread Eric Blake
On 03/16/2012 06:13 AM, Stefano Stabellini wrote: > - add an "is_ram" flag to SaveStateEntry; > > - register_savevm_live sets is_ram for live_savevm devices; > > - introduce a "save-devices-state" QAPI command that can be used to save > the state of all devices, but not the RAM or the block devic

[Qemu-devel] [PATCH v7 2/6] Introduce "save-devices-state"

2012-03-16 Thread Stefano Stabellini
- add an "is_ram" flag to SaveStateEntry; - register_savevm_live sets is_ram for live_savevm devices; - introduce a "save-devices-state" 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 v7: - rename save_devices to save-d