When the storage is pre-created on the destination, it might have
been allocated as sparse on the source. Let's keep it that way if
we can.
diff to v1:
- in 3/3 I've reworked the handling of @allocation attribute as John suggested
Michal Privoznik (3):
qemuMigrationPrecreateStorage: Fix debug message
qemuMigrationCookieNBD: Turn some items into their own struct
qemuMigrationPrecreateDisk: Preserve sparse files
src/qemu/qemu_migration.c | 48 ++++++++++++++++++++++++++++++++++++-----------
1 file changed, 37 insertions(+), 11 deletions(-)
--
2.0.5