Even when specifying -n to suppress image creation with qemu-img convert, that function tried to verify that the target protocol and driver are suited for image creation. This verification should be suppressed, too (which is what the first patch in this series does, the second one adds a test for it).
Max Reitz (2): qemu-img: Fix qemu-img convert -n iotests: Add test for qemu-img convert to NBD qemu-img.c | 50 +++++++++++++++++++------------------ tests/qemu-iotests/123 | 62 ++++++++++++++++++++++++++++++++++++++++++++++ tests/qemu-iotests/123.out | 9 +++++++ tests/qemu-iotests/group | 1 + 4 files changed, 98 insertions(+), 24 deletions(-) create mode 100755 tests/qemu-iotests/123 create mode 100644 tests/qemu-iotests/123.out -- 2.1.0