this adds the proposed solution to add a generic mechanism to zeroize a target in qemu-img if it has discard_zeroes but has_zero_init is 0.
Peter Lieven (4): block: add discard_zeroes and max_unmap to BlockDriverInfo iscsi: add .bdrv_get_info block/raw: add .bdrv_get_info qemu-img: conditionally discard target on convert block/iscsi.c | 19 +++++++++++++++-- block/raw.c | 6 ++++++ include/block/block.h | 5 +++++ qemu-img.c | 56 ++++++++++++++++++++++++++++++++++++++++++++++++- 4 files changed, 83 insertions(+), 3 deletions(-) -- 1.7.9.5