You need to sign in or sign up before continuing.
migration: Unregister yank if migration setup fails
Currently, if a qemu instance is started with "-incoming defer" and an incorect parameter is passed to "migrate_incoming", it will print the expected error and reply with "duplicate yank instance" for any upcoming "migrate_incoming" command. This renders current qemu process unusable, and requires a new qemu process to be started before accepting a migration. This is caused by a yank_register_instance() that happens in qemu_start_incoming_migration() but is never reverted if any error happens. Solves this by unregistering the instance if anything goes wrong in the function, allowing a new "migrate_incoming" command to be accepted. Fixes: b5eea99e ("migration: Add yank feature", 2021-01-13) Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1974366 Signed-off-by:Leonardo Bras <leobras@redhat.com>
Please register or sign in to comment