migration: migration_stop_vm() helper
commit93bdf888fa5c1b3972e337c8c8fbe7d2bcd29900
authorPeter Xu <peterx@redhat.com>
Mon, 30 Oct 2023 16:33:45 +0000 (30 12:33 -0400)
committerJuan Quintela <quintela@redhat.com>
Wed, 1 Nov 2023 15:13:58 +0000 (1 16:13 +0100)
tree24e22945b839e58d0a579525243246d890837574
parent3c80f14272057f77c87fb9971e8c4f603a03289a
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>
migration/migration.c
migration/migration.h