summary refs log tree commit diff stats
path: root/util/qemu-option.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 /util/qemu-option.c
parent60900b7bd930e0b9acad118ead4fabf4610066a8 (diff)
downloadfocaccia-qemu-e4b5dad8269b1b629c52be25e6da50644293abf7.tar.gz
focaccia-qemu-e4b5dad8269b1b629c52be25e6da50644293abf7.zip
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 'util/qemu-option.c')
0 files changed, 0 insertions, 0 deletions