[Qemu-devel] [PATCH for-4.0 0/2] NBD block status failures

Eric Blake posted 2 patches 5 years, 1 month ago
Test docker-mingw@fedora passed
Test docker-clang@ubuntu passed
Test asan passed
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190323212639.579-1-eblake@redhat.com
Maintainers: Kevin Wolf <kwolf@redhat.com>, Eric Blake <eblake@redhat.com>, Max Reitz <mreitz@redhat.com>
block/nbd-client.c | 21 ++++++++++++++++-----
qemu-img.c         |  2 ++
block/trace-events |  1 +
3 files changed, 19 insertions(+), 5 deletions(-)
[Qemu-devel] [PATCH for-4.0 0/2] NBD block status failures
Posted by Eric Blake 5 years, 1 month ago
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