aboutsummaryrefslogtreecommitdiff
path: root/block/qcow2-cache.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2018-01-11 14:38:34 +0100
committerKevin Wolf <kwolf@redhat.com>2018-03-09 15:17:47 +0100
commite4b5dad8269b1b629c52be25e6da50644293abf7 (patch)
treefdd4507e10c4daf08cf99d3233856002806215e0 /block/qcow2-cache.c
parent60900b7bd930e0b9acad118ead4fabf4610066a8 (diff)
downloadqemu-e4b5dad8269b1b629c52be25e6da50644293abf7.zip
qemu-e4b5dad8269b1b629c52be25e6da50644293abf7.tar.gz
qemu-e4b5dad8269b1b629c52be25e6da50644293abf7.tar.bz2
qcow2: Handle full/falloc preallocation in qcow2_co_create()
Once qcow2_co_create() can be called directly on an already existing node, we must provide the 'full' and 'falloc' preallocation modes outside of creating the image on the protocol layer. Fortunately, we have preallocated truncate now which can provide this functionality. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block/qcow2-cache.c')
0 files changed, 0 insertions, 0 deletions