aboutsummaryrefslogtreecommitdiff
path: root/bsd-user
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2019-02-21 15:48:11 +0100
committerKevin Wolf <kwolf@redhat.com>2019-03-08 12:26:45 +0100
commitc5e86ebc113407dce87b813d68ff3abe9496f422 (patch)
treeb6c4656f7913c4be79f7b3a8259b92dbee635813 /bsd-user
parent97f94cb4f842ff43e21e990e59a3ca01708e76d0 (diff)
downloadqemu-c5e86ebc113407dce87b813d68ff3abe9496f422.zip
qemu-c5e86ebc113407dce87b813d68ff3abe9496f422.tar.gz
qemu-c5e86ebc113407dce87b813d68ff3abe9496f422.tar.bz2
qcow2: Simplify preallocation code
Image creation already involves a bdrv_co_truncate() call, which allows to specify a preallocation mode. Just pass the right mode there and remove the code that is made redundant by this. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'bsd-user')
0 files changed, 0 insertions, 0 deletions