diff options
| author | Kevin Wolf | 2019-02-21 15:48:11 +0100 |
|---|---|---|
| committer | Kevin Wolf | 2019-03-08 12:26:45 +0100 |
| commit | c5e86ebc113407dce87b813d68ff3abe9496f422 (patch) | |
| tree | b6c4656f7913c4be79f7b3a8259b92dbee635813 /docs | |
| parent | qemu-iotests: Test qcow2 preallocation modes (diff) | |
| download | qemu-c5e86ebc113407dce87b813d68ff3abe9496f422.tar.gz qemu-c5e86ebc113407dce87b813d68ff3abe9496f422.tar.xz qemu-c5e86ebc113407dce87b813d68ff3abe9496f422.zip | |
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 'docs')
0 files changed, 0 insertions, 0 deletions
