]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuMigrationSrcBeginPhase: Require storage migration when 'migrate_disks' parameter...
authorPeter Krempa <pkrempa@redhat.com>
Wed, 9 Aug 2023 12:18:58 +0000 (14:18 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 10 Aug 2023 12:53:27 +0000 (14:53 +0200)
commitba8ae0532b3039ed308320f733aa1618fbe5758b
tree55494bf25d43b577acf62ed3a76448a1b8c75ac1
parentdeac6f017e9ffaae4060d461b87e0d61ddbb1e3a
qemuMigrationSrcBeginPhase: Require storage migration when 'migrate_disks' parameter is specified

If a user passes a list of disks to migrate but don't actually use
'VIR_MIGRATE_NON_SHARED_DISK' or 'VIR_MIGRATE_NON_SHARED_INC' flags the
parameter would be simply ignored without informing the user of the
error.

Add a proper error in such case.

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