Re: [Qemu-devel] [PATCH v4 8/8] nbd: Move nbd_read() to common header

2017-10-16 Thread Vladimir Sementsov-Ogievskiy
15.10.2017 04:01, Eric Blake wrote: 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

[Qemu-devel] [PATCH v4 8/8] nbd: Move nbd_read() to common header

2017-10-14 Thread Eric Blake
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 --- include/block/nbd.h | 10