diff options
| author | Alberto Garcia | 2019-05-10 18:22:54 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2019-05-20 17:08:56 +0200 |
| commit | b6c246942b14d3e0dec46a6c5868ed84e7dbea19 (patch) | |
| tree | ce424eaf7dd574d6ae54e64dcc380dac9c2de656 /include/exec | |
| parent | block/file-posix: Truncate in xfs_write_zeroes() (diff) | |
| download | qemu-b6c246942b14d3e0dec46a6c5868ed84e7dbea19.tar.gz qemu-b6c246942b14d3e0dec46a6c5868ed84e7dbea19.tar.xz qemu-b6c246942b14d3e0dec46a6c5868ed84e7dbea19.zip | |
qcow2: Define and use QCOW2_COMPRESSED_SECTOR_SIZE
When an L2 table entry points to a compressed cluster the space used
by the data is specified in 512-byte sectors. This size is independent
from BDRV_SECTOR_SIZE and is specific to the qcow2 file format.
The QCOW2_COMPRESSED_SECTOR_SIZE constant defined in this patch makes
this explicit.
Signed-off-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
