Re: [Qemu-devel] [PATCH 11/18] nbd: Let client skip portions of server reply

2016-04-09 Thread Alex Bligh
On 8 Apr 2016, at 23:05, Eric Blake wrote: > The server has a nice helper function nbd_negotiate_drop_sync() > which lets it easily ignore fluff from the client (such as the > payload to an unknown option request). We can't quite make it > common, since it depends on

[Qemu-devel] [PATCH 11/18] nbd: Let client skip portions of server reply

2016-04-08 Thread Eric Blake
The server has a nice helper function nbd_negotiate_drop_sync() which lets it easily ignore fluff from the client (such as the payload to an unknown option request). We can't quite make it common, since it depends on nbd_negotiate_read() which handles coroutine magic, but we can copy the idea