diff options
| author | Stefan Hajnoczi | 2013-04-15 17:17:31 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2013-04-22 10:27:58 +0200 |
| commit | f4d38bef7cc79018e2aa789b0e4c23c3a8cdfca5 (patch) | |
| tree | a83c3003f7b316626becabac10cfce1390def876 /include | |
| parent | ui/cocoa.m: Fix recent compile breakage (diff) | |
| download | qemu-f4d38bef7cc79018e2aa789b0e4c23c3a8cdfca5.tar.gz qemu-f4d38bef7cc79018e2aa789b0e4c23c3a8cdfca5.tar.xz qemu-f4d38bef7cc79018e2aa789b0e4c23c3a8cdfca5.zip | |
qcow2: allow sub-cluster compressed write to last cluster
Compression in qcow2 requires image length to be a multiple of the
cluster size. Lift this requirement by zero-padding the final cluster
when necessary. The virtual disk size is still not cluster-aligned, so
the guest cannot access the zero sectors.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
