summaryrefslogtreecommitdiff
path: root/qemu-bridge-helper.c
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2014-12-26 00:26:38 +0100
committerPeter Wu <peter@lekensteyn.nl>2014-12-27 15:40:02 +0100
commita2259c3300e5d34afdcb9fae1cd5badc63cc5195 (patch)
treebdff988b37d9f79589b1ff1d167c947999ca460c /qemu-bridge-helper.c
parent1a622b87401d9e77b3fd54d83fcf85fb30a45b75 (diff)
downloadqemu-block-dmg-2.2.tar.gz
block/dmg: improve zeroes handlingblock-dmg-2.2
Disk images may contain large all-zeroes gaps (1.66k sectors or 812 MiB is seen in the real world). These blocks (type 2) do not need to be extracted into a temporary buffer, there is no need to allocate memory for these blocks nor to check its length. (For the test image, the maximum uncompressed size is 1054371 bytes, probably for a bzip2-compressed block.) Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'qemu-bridge-helper.c')
0 files changed, 0 insertions, 0 deletions