]> git.proxmox.com Git - mirror_qemu.git/commit - migration/migration.c
migration: Introduce capability 'x-colo' to migration
authorzhanghailiang <zhang.zhanghailiang@huawei.com>
Thu, 27 Oct 2016 06:42:52 +0000 (14:42 +0800)
committerAmit Shah <amit@amitshah.net>
Sun, 30 Oct 2016 09:47:39 +0000 (15:17 +0530)
commit35a6ed4f716c1027c04d12a3c499b2e9d6b62c24
tree114b6c3215043656fd9e44d8b27f8dd5dd5334ed
parent5b2ecabaeabc17f032197246c4846b9ba95ba8a6
migration: Introduce capability 'x-colo' to migration

We add helper function colo_supported() to indicate whether
colo is supported or not, with which we use to control whether or not
showing 'x-colo' string to users, they can use qmp command
'query-migrate-capabilities' or hmp command 'info migrate_capabilities'
to learn if colo is supported.

The default value for COLO (COarse-Grain LOck Stepping) is disabled.

Cc: Juan Quintela <quintela@redhat.com>
Cc: Amit Shah <amit.shah@redhat.com>
Cc: Eric Blake <eblake@redhat.com>
Cc: Markus Armbruster <armbru@redhat.com>
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: Eric Blake <eblake@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Amit Shah <amit@amitshah.net>
docs/qmp-commands.txt
include/migration/colo.h [new file with mode: 0644]
include/migration/migration.h
migration/Makefile.objs
migration/colo.c [new file with mode: 0644]
migration/migration.c
qapi-schema.json
stubs/Makefile.objs
stubs/migration-colo.c [new file with mode: 0644]