Re: [Qemu-devel] [PATCH 10/14] nbd/client: Split handshake into two functions

2018-12-06 Thread Vladimir Sementsov-Ogievskiy
06.12.2018 18:16, Vladimir Sementsov-Ogievskiy wrote: > 01.12.2018 1:03, Eric Blake wrote: >> + * Returns: negative errno: failure talking to server >> + *  0: server is oldstyle, client must still parse export size >> + *  1: server is newstyle, but can only accept EXPORT_NAME >> +

Re: [Qemu-devel] [PATCH 10/14] nbd/client: Split handshake into two functions

2018-12-06 Thread Vladimir Sementsov-Ogievskiy
01.12.2018 1:03, Eric Blake wrote: > An upcoming patch will add the ability for qemu-nbd to list > the services provided by an NBD server. Share the common > code of the TLS handshake by splitting the initial exchange > into a separate function, leaving only the export handling > in the original f

Re: [Qemu-devel] [PATCH 10/14] nbd/client: Split handshake into two functions

2018-12-01 Thread Richard W.M. Jones
On Fri, Nov 30, 2018 at 04:03:39PM -0600, Eric Blake wrote: > An upcoming patch will add the ability for qemu-nbd to list > the services provided by an NBD server. Share the common > code of the TLS handshake by splitting the initial exchange > into a separate function, leaving only the export han

[Qemu-devel] [PATCH 10/14] nbd/client: Split handshake into two functions

2018-11-30 Thread Eric Blake
An upcoming patch will add the ability for qemu-nbd to list the services provided by an NBD server. Share the common code of the TLS handshake by splitting the initial exchange into a separate function, leaving only the export handling in the original function. Functionally, there should be no ch