qemu/migration
Wen Congyang 88c16567d2 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>
2016-06-13 11:50:53 +01:00
..
block.c migration/block: Convert saving to BlockBackend 2016-06-08 10:21:08 +02:00
exec.c migration: add support for encrypting data with TLS 2016-05-26 11:32:13 +05:30
fd.c migration: add support for encrypting data with TLS 2016-05-26 11:32:13 +05:30
Makefile.objs migration: add support for encrypting data with TLS 2016-05-26 11:32:13 +05:30
migration.c migration: add support for encrypting data with TLS 2016-05-26 11:32:13 +05:30
postcopy-ram.c all: Remove unnecessary glib.h includes 2016-06-07 18:19:24 +03:00
qemu-file-channel.c migration: introduce a new QEMUFile impl based on QIOChannel 2016-05-26 11:31:24 +05:30
qemu-file.c migration: remove qemu_get_fd method from QEMUFile 2016-05-26 11:32:21 +05:30
qjson.c migration/qjson: Drop gratuitous use of QOM 2016-05-23 14:16:12 +05:30
ram.c migration: don't use an array for storing migrate parameters 2016-05-26 11:32:07 +05:30
rdma.c migration: convert RDMA to use QIOChannel interface 2016-05-26 11:31:50 +05:30
savevm.c Introduce "xen-load-devices-state" 2016-06-13 11:50:53 +01:00
socket.c migration: add support for encrypting data with TLS 2016-05-26 11:32:13 +05:30
tls.c migration: add support for encrypting data with TLS 2016-05-26 11:32:13 +05:30
vmstate.c migration: Move qjson.[ch] to migration/ 2016-05-23 14:16:09 +05:30
xbzrle.c util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00