Yet another attempt.
One thing that I'm not sure about is, whether this functionality
should be on by default or tunable via say flag to migrate APIs.
Thing is, in my approach I require disks to be in a storage pool
(see the last patch for reasoning). On the other hand, if users
still precreate storage themselves, they won't see any failure if
disks doesn't belong to any pool. So I'm undecided yet, thoughts?
Michal Privoznik (5):
qemu: Expose qemuOpenFile and qemuOpenFileAs
qemu: Split qemuDomainGetBlockInfo
storage: Introduce storagePoolLookupByPath
qemu_migration: Send disk sizes to the other side
qemu_migration: Precreate missing storage
src/qemu/qemu_domain.c | 319 ++++++++++++++++++++++++++++++++++++++
src/qemu/qemu_domain.h | 16 ++
src/qemu/qemu_driver.c | 316 +-------------------------------------
src/qemu/qemu_migration.c | 354 ++++++++++++++++++++++++++++++++++++++++---
src/storage/storage_driver.c | 36 +++++
src/storage/storage_driver.h | 4 +
6 files changed, 711 insertions(+), 334 deletions(-)
--
2.0.4