We already have a lot of bdrv_getlength() fixes in -rc2; so I think this is still okay for -rc3.
v1 was here (with a typo'd subject line): https://lists.gnu.org/archive/html/qemu-devel/2017-08/msg01226.html Since v1: - patch 1: fix error message capitalization (Kevin, R-b kept) - fix locking bug in original patch 2 (Kevin) - split original patch 2 into two parts: signature update, and added error checking (Kevin) - check for unlikely integer overflow before bdrv_truncate (Jeff) 001/5:[0002] [FC] 'vpc: Check failure of bdrv_getlength()' 002/5:[down] 'qcow: Change signature of get_cluster_offset()' 003/5:[0048] [FC] 'qcow: Check failure of bdrv_getlength() and bdrv_truncate()' 004/5:[----] [--] 'qcow2: Drop debugging dump_refcounts()' 005/5:[----] [--] 'qcow2: Check failure of bdrv_getlength()' Eric Blake (5): vpc: Check failure of bdrv_getlength() qcow: Change signature of get_cluster_offset() qcow: Check failure of bdrv_getlength() and bdrv_truncate() qcow2: Drop debugging dump_refcounts() qcow2: Check failure of bdrv_getlength() block/qcow.c | 165 ++++++++++++++++++++++++++++++++++------------------------ block/qcow2.c | 26 ++------- block/vpc.c | 9 +++- 3 files changed, 110 insertions(+), 90 deletions(-) -- 2.13.4