]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuMigrationDstPrepareStorage: Reject migration into 'dir' and 'vhost-user' types
authorPeter Krempa <pkrempa@redhat.com>
Mon, 19 Feb 2024 12:53:26 +0000 (13:53 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 21 Feb 2024 13:15:49 +0000 (14:15 +0100)
commit360fd479ae725677e9744aaa05101606463d0f56
treedf47b5e1fcaf31a19c937058bf462f86ab245f7c
parentd6ba6cbaa4b20bf27c6b1fe48fbfb99e073f85a8
qemuMigrationDstPrepareStorage: Reject migration into 'dir' and 'vhost-user' types

Migrating into a 'directory' won't ever work as we ask qemu to emulate a
fat filesystem, so restoring of the files won't be possible. Same for
'vhost-user' disks which don't support blockjobs as there's no block
backend used in qemu.

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