On Tue, May 10, 2022 at 17:20:59 +0200, Jiri Denemark wrote:
Normally migrationPort is released in the Finish phase, but we need
to
make sure it is properly released also in case qemuMigrationDstFinish is
not called at all. Currently the only callback which is called in this
situation qemuMigrationDstPrepareCleanup which already releases
migrationPort. This patch adds similar handling to additional callbacks
which will be used in the future.
Signed-off-by: Jiri Denemark <jdenemar(a)redhat.com>
---
src/qemu/qemu_migration.c | 3 +++
src/qemu/qemu_process.c | 2 ++
2 files changed, 5 insertions(+)
Reviewed-by: Peter Krempa <pkrempa(a)redhat.com>