]> xenbits.xensource.com Git - libvirt.git/commit
qemuMigrationSrcBeginPhaseBlockDirtyBitmaps: Use qemuMigrationAnyCopyDisk()
authorPeter Krempa <pkrempa@redhat.com>
Fri, 27 Sep 2024 11:33:40 +0000 (13:33 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 1 Oct 2024 10:57:02 +0000 (12:57 +0200)
commitab52a069eed7e7436d0b5a0ba836472f894e053b
treefaa2e1c73dddd0901440a47399c3f08c4b9aca03
parent9bf319147ce4f060db641c21544e1efb1a45bd5c
qemuMigrationSrcBeginPhaseBlockDirtyBitmaps: Use qemuMigrationAnyCopyDisk()

The function open-coded the checking whether a disk is being migrated
with non-shared storage and did so badly (not taking into account if
user doesn't explicitly provide list of disks to migrate).

Use the existing helper instead.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/qemu/qemu_migration.c