nbd: Minimal structured read for client
commitf140e3000371e67ff4e00df3213e2d576d9c91be
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Fri, 27 Oct 2017 10:40:37 +0000 (27 12:40 +0200)
committerEric Blake <eblake@redhat.com>
Mon, 30 Oct 2017 20:48:41 +0000 (30 21:48 +0100)
tree1111920c7dbb774be55932b164ee966ea54f32e5
parent56dc682bf5e3a64b64a658c0aeec37570719c929
nbd: Minimal structured read for client

Minimal implementation: for structured error only error_report error
message.

Note that test 83 is now more verbose, because the implementation
prints more warnings about unexpected communication errors; perhaps
future patches should tone things down by using trace messages
instead of traces, but the common case of successful communication
is no noisier than before.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20171027104037.8319-13-eblake@redhat.com>
block/nbd-client.c
block/nbd-client.h
include/block/nbd.h
nbd/client.c
nbd/nbd-internal.h
tests/qemu-iotests/083.out