qemu/nbd
Eric Blake 56dc682bf5 nbd: Move nbd_read() to common header
An upcoming change to block/nbd-client.c will want to read the
tail of a structured reply chunk directly from the wire.  Move
this function to make it easier.

Based on a patch from Vladimir Sementsov-Ogievskiy.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20171027104037.8319-12-eblake@redhat.com>
2017-10-30 21:48:36 +01:00
..
client.c nbd/client: prepare nbd_receive_reply for structured reply 2017-10-30 21:48:32 +01:00
common.c nbd: Expose constants and structs for structured read 2017-10-30 21:07:21 +01:00
Makefile.objs
nbd-internal.h nbd: Move nbd_read() to common header 2017-10-30 21:48:36 +01:00
server.c nbd/server: Include human-readable message in structured errors 2017-10-30 21:48:11 +01:00
trace-events nbd/client: prepare nbd_receive_reply for structured reply 2017-10-30 21:48:32 +01:00