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>
Showing
- include/migration/colo.h 3 additions, 0 deletionsinclude/migration/colo.h
- migration/colo.c 29 additions, 0 deletionsmigration/colo.c
- migration/migration.c 33 additions, 5 deletionsmigration/migration.c
- migration/trace-events 3 additions, 0 deletionsmigration/trace-events
- qapi-schema.json 3 additions, 1 deletionqapi-schema.json
- stubs/migration-colo.c 9 additions, 0 deletionsstubs/migration-colo.c
Loading
Please register or sign in to comment