Files
qemu/migration
Fabiano Rosas 7e71439243 migration: yank: Move register instance earlier
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.

Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Prasad Pandit <pjp@fedoraproject.org>
Link: https://lore.kernel.org/qemu-devel/20260123141656.6765-11-farosas@suse.de
Signed-off-by: Fabiano Rosas <farosas@suse.de>
2026-01-23 11:32:17 -03:00
..
2026-01-17 10:46:31 +11:00
2024-12-20 17:44:56 +01:00
2026-01-17 10:46:31 +11:00
2026-01-17 10:46:31 +11:00
2025-12-27 10:11:09 +01:00
2026-01-17 10:46:31 +11:00
2025-05-02 11:09:36 -04:00
2025-09-02 17:57:05 +02:00
2025-09-02 17:57:05 +02:00