]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuMigrationDstPrepareStorage: Move assumption that 'network' disks always exist
authorPeter Krempa <pkrempa@redhat.com>
Mon, 19 Feb 2024 13:16:19 +0000 (14:16 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 21 Feb 2024 13:15:49 +0000 (14:15 +0100)
commiteeb1cecf1eefcdbba91320ebe17ad535486c265a
treeb43f47c42df7faf5fae7e006269784c20927f858
parent360fd479ae725677e9744aaa05101606463d0f56
qemuMigrationDstPrepareStorage: Move assumption that 'network' disks always exist

Move the assumption from the code pre-creating the storage to
qemuMigrationDstPrepareStorage where it's checked for other cases.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_migration.c