qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] nbd: Add exports listing support
@ 2014-05-25  9:50 Hani Benhabiles
  2014-05-25  9:50 ` [Qemu-devel] [PATCH 1/2] nbd: Handle fixed new-style clients Hani Benhabiles
  2014-05-25  9:50 ` [Qemu-devel] [PATCH 2/2] nbd: Handle NBD_OPT_LIST option Hani Benhabiles
  0 siblings, 2 replies; 4+ messages in thread
From: Hani Benhabiles @ 2014-05-25  9:50 UTC (permalink / raw)
  To: qemu-devel; +Cc: pbonzini, famz, kraxel, stefanha

Before the patches:

$ nbd-client -l localhost
Negotiation: ..
E: Server does not support listing exports

After the patches:
$ nbd-client -l localhost
Negotiation: ..
ide0-hd0
ide1-cd0

Hani Benhabiles (2):
  nbd: Handle fixed new-style clients.
  nbd: Handle NBD_OPT_LIST option.

 include/block/nbd.h |  10 +++++
 nbd.c               | 109 ++++++++++++++++++++++++++++++++++++++++++++++++----
 2 files changed, 112 insertions(+), 7 deletions(-)

-- 
1.8.3.2

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [Qemu-devel] [PATCH 0/2] nbd: Add exports listing support
@ 2014-06-07  0:32 Hani Benhabiles
  2014-06-07  0:32 ` [Qemu-devel] [PATCH 1/2] nbd: Handle fixed new-style clients Hani Benhabiles
  0 siblings, 1 reply; 4+ messages in thread
From: Hani Benhabiles @ 2014-06-07  0:32 UTC (permalink / raw)
  To: qemu-devel; +Cc: pbonzini, stefanha

Compared to v2:
* 1/2: Handle options in loop. Handle NBD_OPT_ABORT. Add link to documentation.
  Improve commit message.
* 2/2: Fix return value in NBD_OPT_LIST case. Rename nbd_send_list() function to
  nbd_handle_list().
* Remove patch 3/3 from v2. Applied separately by Paolo.

Hani Benhabiles (2):
  nbd: Handle fixed new-style clients.
  nbd: Handle NBD_OPT_LIST option.

 include/block/nbd.h |  11 +++
 nbd.c               | 200 +++++++++++++++++++++++++++++++++++++++++-----------
 2 files changed, 170 insertions(+), 41 deletions(-)

-- 
1.8.3.2

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-06-07  0:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-25  9:50 [Qemu-devel] nbd: Add exports listing support Hani Benhabiles
2014-05-25  9:50 ` [Qemu-devel] [PATCH 1/2] nbd: Handle fixed new-style clients Hani Benhabiles
2014-05-25  9:50 ` [Qemu-devel] [PATCH 2/2] nbd: Handle NBD_OPT_LIST option Hani Benhabiles
  -- strict thread matches above, loose matches on Subject: below --
2014-06-07  0:32 [Qemu-devel] [PATCH 0/2] nbd: Add exports listing support Hani Benhabiles
2014-06-07  0:32 ` [Qemu-devel] [PATCH 1/2] nbd: Handle fixed new-style clients Hani Benhabiles

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).