aboutsummaryrefslogtreecommitdiff
path: root/migration/colo-comm.c
diff options
context:
space:
mode:
Diffstat (limited to 'migration/colo-comm.c')
-rw-r--r--migration/colo-comm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/migration/colo-comm.c b/migration/colo-comm.c
index b61aa19a38..df26e4dfe7 100644
--- a/migration/colo-comm.c
+++ b/migration/colo-comm.c
@@ -34,11 +34,13 @@ COLOMode get_colo_mode(void)
}
}
-static void colo_info_pre_save(void *opaque)
+static int colo_info_pre_save(void *opaque)
{
COLOInfo *s = opaque;
s->colo_requested = migrate_colo_enabled();
+
+ return 0;
}
static bool colo_info_need(void *opaque)