Re: [Qemu-devel] [PATCHv4 16/17] qemu-img: conditionally zero out target on convert

2013-10-18 Thread Stefan Hajnoczi
On Tue, Oct 08, 2013 at 01:58:10PM +0200, Peter Lieven wrote: > If the target has_zero_init = 0, but supports efficiently > writing zeroes by unmapping we call bdrv_zeroize to s/bdrv_zeroize/bdrv_make_zero/ No need to respin.

[Qemu-devel] [PATCHv4 16/17] qemu-img: conditionally zero out target on convert

2013-10-08 Thread Peter Lieven
If the target has_zero_init = 0, but supports efficiently writing zeroes by unmapping we call bdrv_zeroize to avoid fully allocating the target. This currently is designed especially for iscsi. Reviewed-by: Eric Blake Signed-off-by: Peter Lieven --- qemu-img.c | 10 +- 1 file changed,