[libvirt PATCH 72/80] qemu: Call qemuDomainCleanupAdd from qemuMigrationJobContinue

Peter Krempa pkrempa at redhat.com
Thu May 12 15:37:45 UTC 2022


On Tue, May 10, 2022 at 17:21:33 +0200, Jiri Denemark wrote:
> Every single call to qemuMigrationJobContinue needs to register a
> cleanup callback in case the migrating domain dies between phases or
> when migration is paused due to a failure in postcopy mode.
> 
> Let's integrate registering the callback in qemuMigrationJobContinue to
> make sure the current thread does not release a migration job without
> setting a cleanup callback.
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  src/qemu/qemu_migration.c | 35 +++++++++++++----------------------
>  1 file changed, 13 insertions(+), 22 deletions(-)

Reviewed-by: Peter Krempa <pkrempa at redhat.com>


More information about the libvir-list mailing list