Rich pointed out some fishy corner-case behavior of qemu in dealing with a non-compliant NBD server on NBD_CMD_BLOCK_STATUS. Fix a real bug in qemu-img, as well as teaching NBD to be a bit more tolerant of buggy servers for more interoperability (be strict in what you produce, but loose in what you accept).
Eric Blake (2): qemu-img: Report bdrv_block_status failures nbd: Tolerate some server non-compliance in NBD_CMD_BLOCK_STATUS block/nbd-client.c | 21 ++++++++++++++++----- qemu-img.c | 2 ++ block/trace-events | 1 + 3 files changed, 19 insertions(+), 5 deletions(-) -- 2.20.1
