]> xenbits.xensource.com Git - libvirt.git/commit
virsh: doMigrate: Require --copy-storage-(all|inc) with --migrate-disks
authorPeter Krempa <pkrempa@redhat.com>
Wed, 9 Aug 2023 13:14:35 +0000 (15:14 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 10 Aug 2023 12:53:27 +0000 (14:53 +0200)
commit85688f475f949eb08074343ca936bf513210f505
treed4de559f17fef81e44e42963544fdbd1060fe53b
parent1c2bd205eddecc26245123117af19576ecc82c9e
virsh: doMigrate: Require --copy-storage-(all|inc) with --migrate-disks

Users need to enable non-shared-storage migration, otherwise the disks
specified via '--migrate-disks' will be ignored.

Add an error message to inform the users of their wrong config.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tools/virsh-domain.c