]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuMigrationSrcIsSafeDisk: Extract safe migration checks for one storage source
authorPeter Krempa <pkrempa@redhat.com>
Mon, 8 Sep 2025 15:50:22 +0000 (17:50 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 23 Sep 2025 16:57:00 +0000 (18:57 +0200)
commit0ca45005d7d45311b062a61805c1049c32b0b9db
tree73e039a962f4a5dda812652482e6ade81b085b9b
parent60899fc8fc676cc05b45ab6d997fddcb0b8abcdc
qemuMigrationSrcIsSafeDisk: Extract safe migration checks for one storage source

Further split up the code originally in 'qemuMigrationSrcIsSafe' to
separate checks concerning a single storage source.

The code will then be reused to check the safe migration state also for
the data file (qcow2 feature that allows store of data separated from
the qcow2 metadata).

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