I noticed these while reviewing Berto's proposed change to the qcow2 spec on how compression works.
Eric Blake (2): qcow2: Prefer byte-based calls into bs->file qcow2: Avoid memory over-allocation on compressed images block/qcow2-cluster.c | 17 +++++------------ block/qcow2-refcount.c | 6 +++--- block/qcow2.c | 2 +- 3 files changed, 9 insertions(+), 16 deletions(-) -- 2.14.3