diff options
author | Kevin Wolf <kwolf@redhat.com> | 2019-02-21 15:48:11 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2019-03-08 12:26:45 +0100 |
commit | c5e86ebc113407dce87b813d68ff3abe9496f422 (patch) | |
tree | b6c4656f7913c4be79f7b3a8259b92dbee635813 /docs | |
parent | 97f94cb4f842ff43e21e990e59a3ca01708e76d0 (diff) |
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