Peter Lieven
authored
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>