]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_migration: Fix p2p post-copy recovery
authorJiri Denemark <jdenemar@redhat.com>
Fri, 9 Dec 2022 23:04:41 +0000 (00:04 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 14 Dec 2022 10:21:50 +0000 (11:21 +0100)
commit7166d26fc91a6feb8065fe12f79a26de40a15f74
tree3606ca982679f0cf7e950742c621fbc8d03c505f
parent693c6b4a8120e46aafa48da5ce4086cec5c025a4
qemu_migration: Fix p2p post-copy recovery

Although the qemuMigrationSrcPerformResume actually got called
indirectly via qemuMigrationSrcPerformNative and the recovery process
worked, wrong job phases were used for the "perform" phase, which could
cause issues when libvirt daemon crashed (or was otherwise restarted)
during post-copy recovery.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_migration.c