aboutsummaryrefslogtreecommitdiff
path: root/migration/colo.c
diff options
context:
space:
mode:
authorZhang Chen <chen.zhang@intel.com>2018-09-03 12:38:52 +0800
committerJason Wang <jasowang@redhat.com>2018-10-19 11:15:03 +0800
commit41b6b7792179591553432b207e1b545fb8bd965b (patch)
treea8d9e166dfc8bb95d13f950577c3d3ea86e0a970 /migration/colo.c
parent9ecff6d66e196701de92f596c250e34c1bd11432 (diff)
qapi/migration.json: Rename COLO unknown mode to none mode.
Suggested by Markus Armbruster rename COLO unknown mode to none mode. Signed-off-by: Zhang Chen <zhangckid@gmail.com> Signed-off-by: Zhang Chen <chen.zhang@intel.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
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 bd7390d6aa..2cdd366276 100644
--- a/migration/colo.c
+++ b/migration/colo.c
@@ -160,7 +160,7 @@ COLOMode get_colo_mode(void)
} else if (migration_incoming_in_colo_state()) {
return COLO_MODE_SECONDARY;
} else {
- return COLO_MODE_UNKNOWN;
+ return COLO_MODE_NONE;
}
}