On Mon, Jul 15, 2013 at 12:49:31PM +0200, Peter Lieven wrote: > 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(-)
Thanks, applied Patch 3 to my block tree as requested: https://github.com/stefanha/qemu/commits/block Stefan