On Fri, Dec 26, 2025 at 06:19:13PM -0300, Fabiano Rosas wrote: > Move the register_instance call to migrate_prepare() so it can be > paired with the unregister_instance at migration_cleanup(). Otherwise, > the cleanup cannot be run when cpr_state_save() fails because the > instance is registered only after it. > > When resuming from a paused postcopy migration, migrate_prepare() > returns early, but migration_cleanup() doesn't run, so the yank will > remain paired. > > Signed-off-by: Fabiano Rosas <[email protected]>
Reviewed-by: Peter Xu <[email protected]> -- Peter Xu
