]> git.proxmox.com Git - mirror_qemu.git/commit - vl.c
COLO: migrate COLO related info to secondary node
authorzhanghailiang <zhang.zhanghailiang@huawei.com>
Thu, 27 Oct 2016 06:42:53 +0000 (14:42 +0800)
committerAmit Shah <amit@amitshah.net>
Sun, 30 Oct 2016 09:47:39 +0000 (15:17 +0530)
commit5821ebf93b1da9f74dc04c20e2923aadfaf803df
treef9bf82c835185d3404eebb0e775c81d2d56b97bf
parent35a6ed4f716c1027c04d12a3c499b2e9d6b62c24
COLO: migrate COLO related info to secondary node

We can determine whether or not VM in destination should go into COLO mode
by referring to the info that was migrated.

We skip this section if COLO is not enabled (i.e.
migrate_set_capability colo off), so that, It doesn't break compatibility
with migration no matter whether users configure the --enable-colo/disable-colo
on the source/destination side or not;

Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Amit Shah <amit@amitshah.net>
include/migration/colo.h
migration/Makefile.objs
migration/colo-comm.c [new file with mode: 0644]
vl.c