On Thu, Apr 13, 2017 at 10:00:11 -0400, John Ferlan wrote:
Perhaps if qemuMigrateDisk were documented it'd be easier to
understand
(multiple options for storage transfer - via command line that fills in
migrate_disks and the nbd server setup).
So to enable storage migration, you need to set one of the
VIR_MIGRATE_NON_SHARED_* flags. This will migrate any non shared, non
readonly, and non empty disk. Since this was not optimal, a new
migration parameter was added so that the list of discs which should be
migrated can be explicitly set when migration is started. And
qemuMigrateDisk is just a helper which tells whether a given disk is
supposed to be migrated: either it is specified in the explicitly passed
list of disks, or when no list is passed it uses the default rule.
Jirka