]> git.proxmox.com Git - mirror_qemu.git/commit - migration/trace-events
migration: Enter into COLO mode after migration if COLO is enabled
authorzhanghailiang <zhang.zhanghailiang@huawei.com>
Thu, 27 Oct 2016 06:42:54 +0000 (14:42 +0800)
committerAmit Shah <amit@amitshah.net>
Sun, 30 Oct 2016 09:47:39 +0000 (15:17 +0530)
commit0b827d5e7291193887d22d058bc20c12b423047c
treeb8f52184446a2936eb9f5f57789975fea882727a
parent5821ebf93b1da9f74dc04c20e2923aadfaf803df
migration: Enter into COLO mode after migration if COLO is enabled

Add a new migration state: MIGRATION_STATUS_COLO. Migration source side
enters this state after the first live migration successfully finished
if COLO is enabled by command 'migrate_set_capability x-colo on'.

We reuse migration thread, so the process of checkpointing will be handled
in migration thread.

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/colo.c
migration/migration.c
migration/trace-events
qapi-schema.json
stubs/migration-colo.c