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.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/migration/colo-comm.c b/migration/colo-comm.c
index a2d5185a8a..bf44f76440 100644
--- a/migration/colo-comm.c
+++ b/migration/colo-comm.c
@@ -49,3 +49,13 @@ void colo_info_init(void)
{
vmstate_register(NULL, 0, &colo_state, &colo_info);
}
+
+bool migration_incoming_enable_colo(void)
+{
+ return colo_info.colo_requested;
+}
+
+void migration_incoming_exit_colo(void)
+{
+ colo_info.colo_requested = false;
+}