]> git.proxmox.com Git - mirror_qemu.git/commit - qapi-schema.json
Introduce "xen-load-devices-state"
authorWen Congyang <wency@cn.fujitsu.com>
Fri, 3 Jun 2016 09:58:34 +0000 (17:58 +0800)
committerStefano Stabellini <sstabellini@kernel.org>
Mon, 13 Jun 2016 10:50:53 +0000 (11:50 +0100)
commit88c16567d2cd23da328787187910b013ee43ebca
tree27991f5da8d3bb9ca391cc0edcda4ef84d33d5c8
parentd6b6aec4091a11e5429aac4d56ad0295c5316375
Introduce "xen-load-devices-state"

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 both primary vm and secondary vm
2. sync the state
3. resume both primary vm and secondary vm

In such case, we need to update all devices' state in any time.

Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Signed-off-by: Changlong Xie <xiecl.fnst@cn.fujitsu.com>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
migration/savevm.c
qapi-schema.json
qmp-commands.hx