[Qemu-devel] [PATCH v2 0/3] qcow2: minor compression improvements

Eric Blake posted 3 patches 7 years, 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20180221233953.5142-1-eblake@redhat.com
Test checkpatch passed
There is a newer version of this series
block/qcow2.h          |  6 ++++++
block/qcow2-cluster.c  | 32 ++++++++++++++++++++------------
block/qcow2-refcount.c | 26 ++++++++++++++++----------
block/qcow2.c          |  2 +-
4 files changed, 43 insertions(+), 23 deletions(-)
[Qemu-devel] [PATCH v2 0/3] qcow2: minor compression improvements
Posted by Eric Blake 7 years, 7 months ago
Updates to v1:
- fix whitespace [Berto]
- fix g_try_malloc usage [Berto, Kevin]
- improve comments [Berto, Kevin]
- add a patch to avoid overflow on 512TB images with 2M clusters

Eric Blake (3):
  qcow2: Prefer byte-based calls into bs->file
  qcow2: Don't allow overflow during cluster allocation
  qcow2: Avoid memory over-allocation on compressed images

 block/qcow2.h          |  6 ++++++
 block/qcow2-cluster.c  | 32 ++++++++++++++++++++------------
 block/qcow2-refcount.c | 26 ++++++++++++++++----------
 block/qcow2.c          |  2 +-
 4 files changed, 43 insertions(+), 23 deletions(-)

-- 
2.14.3