This is first step to block-status refactoring, and solves most simple problem mentioned in my investigation of block-status described in the thread "backing chain & block status & filters": https://lists.gnu.org/archive/html/qemu-devel/2020-04/msg04706.html
The whole series is reviewed, let's proceed with it please! v3: rebase on master 02: grammar fix in commit msg, add Eric's r-b 03,04,09: add Eric's r-b 10: add my r-b Eric Blake (1): qed: Simplify backing reads Vladimir Sementsov-Ogievskiy (9): qemu-img: convert: don't use unallocated_blocks_are_zero block: inline bdrv_unallocated_blocks_are_zero() block/vdi: return ZERO block-status when appropriate block/vpc: return ZERO block-status when appropriate block/crypto: drop unallocated_blocks_are_zero block/iscsi: drop unallocated_blocks_are_zero block/file-posix: drop unallocated_blocks_are_zero block/vhdx: drop unallocated_blocks_are_zero block: drop unallocated_blocks_are_zero block/qed.h | 1 - include/block/block.h | 6 ---- include/block/block_int.h | 12 +++++++- block.c | 15 --------- block/crypto.c | 1 - block/file-posix.c | 3 -- block/io.c | 8 ++--- block/iscsi.c | 1 - block/qcow2.c | 1 - block/qed.c | 65 ++++----------------------------------- block/vdi.c | 3 +- block/vhdx.c | 3 -- block/vpc.c | 3 +- qemu-img.c | 4 +-- 14 files changed, 24 insertions(+), 102 deletions(-) -- 2.18.0