]> Git Repo - qemu.git/commit
qemu-img: conditionally zero out target on convert
authorPeter Lieven <[email protected]>
Thu, 24 Oct 2013 10:07:06 +0000 (12:07 +0200)
committerKevin Wolf <[email protected]>
Thu, 28 Nov 2013 09:30:52 +0000 (10:30 +0100)
commit5a37b60a61c4c334e3b194758871f41494317d42
treef8c169029b78de6fa1012b4f94ccf02ae174a34d
parent11b6699af59b8684128debacfc7c44cbaa6ac53b
qemu-img: conditionally zero out target on convert

If the target has_zero_init = 0, but supports efficiently
writing zeroes by unmapping we call bdrv_make_zero to
avoid fully allocating the target. This currently works
only for iscsi.  It can be extended to raw with
BLKDISCARDZEROES for example.

Reviewed-by: Eric Blake <[email protected]>
Signed-off-by: Peter Lieven <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
qemu-img.c
This page took 0.023477 seconds and 4 git commands to generate.