I found a crasher and some odd behavior while rebasing my bdrv_get_block_status series, so I figured I'd get these things fixed first. This is based on top of Max's block branch.
Available as a tag at: git fetch git://repo.or.cz/qemu/ericb.git nbd-blkdebug-status-v3 Since v2: - defer the original patch 3 to a later series - rebase to make sure test 177 passes at all times (I didn't pinpoint which recent merge caused it, but the test now produces json:{...} instead of blkdebug:... during patch 2) - add more documentation of BDRV_BLOCK_RAW - add R-b where appropriate 001/4:[----] [--] 'qemu-io: Don't die on second open' 002/4:[0002] [FC] 'block: Guarantee that *file is set on bdrv_get_block_status()' 003/4:[0006] [FC] 'block: Simplify use of BDRV_BLOCK_RAW' 004/4:[0002] [FC] 'blkdebug: Support .bdrv_co_get_block_status' Eric Blake (4): qemu-io: Don't die on second open block: Guarantee that *file is set on bdrv_get_block_status() block: Simplify use of BDRV_BLOCK_RAW blkdebug: Support .bdrv_co_get_block_status include/block/block.h | 6 +++--- block/blkdebug.c | 11 +++++++++++ block/commit.c | 2 +- block/io.c | 5 +++-- block/mirror.c | 2 +- block/raw-format.c | 2 +- block/vpc.c | 2 +- qemu-io.c | 7 ++++--- tests/qemu-iotests/177 | 3 +++ tests/qemu-iotests/177.out | 5 +++++ 10 files changed, 33 insertions(+), 12 deletions(-) -- 2.9.4