This series is a follow-up to my previous patch "iotests: Specify format for qemu-nbd" and as such relies on it.
The first three patches of this series fix the qemu-iotests so they once again pass when using NBD. The fourth patch of this series improves NBD's error message for establishing connections, especially if the server's and the client's NBD version differs (which, until now, was simply "Bad magic received"). Max Reitz (4): iotests: Fix 083 iotests: Fix 100 for nbd iotests: Fix 104 for NBD nbd: Improve error messages block/nbd-client.c | 4 +- block/nbd-client.h | 2 +- block/nbd.c | 2 +- include/block/nbd.h | 2 +- nbd.c | 42 ++++++++++++--------- qemu-nbd.c | 7 +++- tests/qemu-iotests/083 | 3 +- tests/qemu-iotests/083.out | 81 ++++++++++++++-------------------------- tests/qemu-iotests/100 | 12 ++++++ tests/qemu-iotests/104 | 9 ++--- tests/qemu-iotests/common.filter | 1 + 11 files changed, 82 insertions(+), 83 deletions(-) -- 2.1.0