Another attempt at this series; v4 was over a month ago: https://lists.gnu.org/archive/html/qemu-devel/2018-02/msg06780.html
Since then: add R-b, and another round of wording tweaks [Berto, Max], emphasizing that refcount table is not the limiting factor and that other limits like ext4 are more likely to hit first 001/5:[----] [--] 'qcow2: Prefer byte-based calls into bs->file' 002/5:[0020] [FC] 'qcow2: Document some maximum size constraints' 003/5:[----] [--] 'qcow2: Reduce REFT_OFFSET_MASK' 004/5:[----] [--] 'qcow2: Don't allow overflow during cluster allocation' 005/5:[----] [--] 'qcow2: Avoid memory over-allocation on compressed images' Eric Blake (5): qcow2: Prefer byte-based calls into bs->file qcow2: Document some maximum size constraints qcow2: Reduce REFT_OFFSET_MASK qcow2: Don't allow overflow during cluster allocation qcow2: Avoid memory over-allocation on compressed images docs/interop/qcow2.txt | 40 +++++++++++++++++++++++++++++++++++++--- block/qcow2.h | 8 +++++++- block/qcow2-cluster.c | 32 ++++++++++++++++++++------------ block/qcow2-refcount.c | 27 +++++++++++++++++---------- block/qcow2.c | 2 +- 5 files changed, 82 insertions(+), 27 deletions(-) -- 2.14.3