]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: migration: Separate startup of disk mirror from migration logic
authorPeter Krempa <pkrempa@redhat.com>
Thu, 22 Nov 2018 15:16:24 +0000 (16:16 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 17 Jan 2019 16:12:50 +0000 (17:12 +0100)
commitb44f1cd7d71d317449e048d331a4c80a65247233
treedd3f86c763ed0ed90948b411a047bd9f79d765c2
parentb3e6a2ea3a013193bba362c3d23441f421d6d651
qemu: migration: Separate startup of disk mirror from migration logic

Extract the disk mirroring startup code from the loop into a separate
function to allow cleaner cleanup paths.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_migration.c