[Qemu-devel] [PATCH 1/2] nbd: Handle fixed new-style clients.

2014-06-06 Thread Hani Benhabiles
When this flag is set, the server tells the client that it can send another option if the server received a request with an option that it doesn't understand instead of directly closing the connection. Also add link to the most up-to-date documentation. Signed-off-by: Hani Benhabiles --- includ

Re: [Qemu-devel] [PATCH 1/2] nbd: Handle fixed new-style clients.

2014-05-27 Thread Hani Benhabiles
On Tue, May 27, 2014 at 04:46:46PM +0200, Paolo Bonzini wrote: > Il 25/05/2014 11:50, Hani Benhabiles ha scritto: > >@@ -236,9 +236,10 @@ static int nbd_receive_options(NBDClient *client) > > LOG("read failed"); > > goto fail; > > } > >-TRACE("Checking reserved"); > >-if

Re: [Qemu-devel] [PATCH 1/2] nbd: Handle fixed new-style clients.

2014-05-27 Thread Paolo Bonzini
Il 25/05/2014 11:50, Hani Benhabiles ha scritto: @@ -236,9 +236,10 @@ static int nbd_receive_options(NBDClient *client) LOG("read failed"); goto fail; } -TRACE("Checking reserved"); -if (tmp != 0) { -LOG("Bad reserved received"); +TRACE("Checking client

[Qemu-devel] [PATCH 1/2] nbd: Handle fixed new-style clients.

2014-05-25 Thread Hani Benhabiles
Signed-off-by: Hani Benhabiles --- include/block/nbd.h | 6 ++ nbd.c | 12 +++- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/include/block/nbd.h b/include/block/nbd.h index 79502a0..95d52ab 100644 --- a/include/block/nbd.h +++ b/include/block/nbd.h @@