aboutsummaryrefslogtreecommitdiff
path: root/migration/migration.h
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2023-10-30 12:33:45 -0400
committerJuan Quintela <quintela@redhat.com>2023-11-01 16:13:58 +0100
commit93bdf888fa5c1b3972e337c8c8fbe7d2bcd29900 (patch)
tree24e22945b839e58d0a579525243246d890837574 /migration/migration.h
parent3c80f14272057f77c87fb9971e8c4f603a03289a (diff)
downloadqemu-93bdf888fa5c1b3972e337c8c8fbe7d2bcd29900.zip
qemu-93bdf888fa5c1b3972e337c8c8fbe7d2bcd29900.tar.gz
qemu-93bdf888fa5c1b3972e337c8c8fbe7d2bcd29900.tar.bz2
migration: migration_stop_vm() helper
Provide a helper for non-COLO use case of migration to stop a VM. This prepares for adding some downtime relevant tracepoints to migration, where they may or may not apply to COLO. Signed-off-by: Peter Xu <peterx@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com> Message-ID: <20231030163346.765724-5-peterx@redhat.com>
Diffstat (limited to 'migration/migration.h')
-rw-r--r--migration/migration.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/migration/migration.h b/migration/migration.h
index ae82004..5944107 100644
--- a/migration/migration.h
+++ b/migration/migration.h
@@ -544,4 +544,6 @@ void migration_rp_wait(MigrationState *s);
*/
void migration_rp_kick(MigrationState *s);
+int migration_stop_vm(RunState state);
+
#endif