this series adds logical block provisioning functions to the iscsi layer. it adds the ability to write sparse images to iscsi targets which support UNMAP and LBPRZ via qemu-img. additional block-migration is enhanced to support an encoding for zero blocks on the network and efficiently writing those zero blocks at the destination if the driver supports it.
many thanks to Paolo, Kevin and Ronnie for their useful comments. Peter Peter Lieven (8): iscsi: add logical block provisioning information to iscsilun iscsi: add bdrv_co_is_allocated iscsi: add bdrv_co_write_zeroes block: add bdrv_write_zeroes() block/raw: add bdrv_co_write_zeroes qemu-img: use bdrv_write_zeroes to write zeroes iscsi: assert that sectors are aligned to LUN blocksize block-migration: efficiently encode zero blocks block-migration.c | 29 ++++-- block.c | 27 +++-- block/iscsi.c | 220 +++++++++++++++++++++++++++++++++++++++++ block/raw.c | 8 ++ include/block/block.h | 2 + include/migration/qemu-file.h | 1 + qemu-img.c | 10 +- savevm.c | 2 +- 8 files changed, 281 insertions(+), 18 deletions(-) -- 1.7.9.5