diff options
| author | Peter Lieven | 2013-10-24 12:07:06 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2013-11-28 10:30:52 +0100 |
| commit | 5a37b60a61c4c334e3b194758871f41494317d42 (patch) | |
| tree | f8c169029b78de6fa1012b4f94ccf02ae174a34d /util | |
| parent | qemu-img: add support for fully allocated images (diff) | |
| download | qemu-5a37b60a61c4c334e3b194758871f41494317d42.tar.gz qemu-5a37b60a61c4c334e3b194758871f41494317d42.tar.xz qemu-5a37b60a61c4c334e3b194758871f41494317d42.zip | |
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 <eblake@redhat.com>
Signed-off-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions
