aboutsummaryrefslogtreecommitdiff
path: root/migration/colo.c
diff options
context:
space:
mode:
authorzhanghailiang <zhang.zhanghailiang@huawei.com>2016-10-27 14:43:08 +0800
committerAmit Shah <amit@amitshah.net>2016-10-30 15:17:39 +0530
commit180fb750004ffd99e20300d9d2eaa4e5f5adae72 (patch)
tree482b42b4db1253b7852e094eaed784cd7f13f91d /migration/colo.c
parente59887d8c9ebc132d14567f6552bb017e5bc724d (diff)
configure: Support enable/disable COLO feature
configure --enable-colo/--disable-colo to switch COLO support on/off. COLO feature doesn't depend on any other external libraries, So here it is reasonable to enable COLO by default, to avoid re-compile QEMU if users want to use this capability. 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>
Diffstat (limited to 'migration/colo.c')
-rw-r--r--migration/colo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/colo.c b/migration/colo.c
index 1f9c699d32..e7224b8a0a 100644
--- a/migration/colo.c
+++ b/migration/colo.c
@@ -24,7 +24,7 @@
bool colo_supported(void)
{
- return false;
+ return true;
}
bool migration_in_colo_state(void)