diff options
author | Max Reitz <mreitz@redhat.com> | 2015-02-18 17:40:46 -0500 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2015-03-10 14:02:21 +0100 |
commit | bd4b167f84840865b788e9f236585f77a77b10fc (patch) | |
tree | ead7cfe670020bceae762214285ef4a636990d5c /audio | |
parent | b72faf9f78377e38342f78ffacdfa0726f5e7511 (diff) |
qcow2: refcount_order parameter for qcow2_create2
Add a refcount_order parameter to qcow2_create2(), use that value for
the image header and for calculating the size required for
preallocation.
For now, always pass 4.
This addition requires changes to the calculation of the file size for
the "full" and "falloc" preallocation modes. That in turn is a nice
opportunity to add a comment about that calculation not necessarily
being exact (and that being intentional).
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'audio')
0 files changed, 0 insertions, 0 deletions