Re: [Qemu-devel] [PATCH] Introduce "xen-load-devices-state"

2016-03-10 Thread Markus Armbruster
Eric Blake writes: > On 03/10/2016 03:23 AM, Changlong Xie wrote: [...] >> +++ b/qapi-schema.json >> @@ -4122,3 +4122,21 @@ >> ## >> { 'enum': 'ReplayMode', >>'data': [ 'none', 'record', 'play' ] } >> + >> +## >> +# @xen-load-devices-state: >> +# >> +# Load the state of all devices from fil

Re: [Qemu-devel] [PATCH] Introduce "xen-load-devices-state"

2016-03-10 Thread Changlong Xie
On 03/11/2016 04:31 AM, Eric Blake wrote: On 03/10/2016 03:23 AM, Changlong Xie wrote: From: Wen Congyang Introduce a "xen-load-devices-state" QAPI command that can be used to load the state of all devices, but not the RAM or the block devices of the VM. We only have hmp commands savevm/loadv

Re: [Qemu-devel] [PATCH] Introduce "xen-load-devices-state"

2016-03-10 Thread Eric Blake
On 03/10/2016 03:23 AM, Changlong Xie wrote: > From: Wen Congyang > > Introduce a "xen-load-devices-state" QAPI command that can be used to load > the state of all devices, but not the RAM or the block devices of the > VM. > > We only have hmp commands savevm/loadvm, and qmp commands > xen-save-

[Qemu-devel] [PATCH] Introduce "xen-load-devices-state"

2016-03-10 Thread Changlong Xie
From: Wen Congyang Introduce a "xen-load-devices-state" QAPI command that can be used to load the state of all devices, but not the RAM or the block devices of the VM. We only have hmp commands savevm/loadvm, and qmp commands xen-save-devices-state. We use this new command for COLO: 1. suspend