From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47596) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoV4m-0002kd-4l for qemu-devel@nongnu.org; Sun, 25 May 2014 05:50:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WoV4d-0005T7-3u for qemu-devel@nongnu.org; Sun, 25 May 2014 05:50:44 -0400 Received: from mail-we0-x22a.google.com ([2a00:1450:400c:c03::22a]:36424) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoV4c-0005T0-Sd for qemu-devel@nongnu.org; Sun, 25 May 2014 05:50:35 -0400 Received: by mail-we0-f170.google.com with SMTP id u57so6850075wes.29 for ; Sun, 25 May 2014 02:50:33 -0700 (PDT) From: Hani Benhabiles Date: Sun, 25 May 2014 10:50:06 +0100 Message-Id: <1401011408-8033-1-git-send-email-kroosec@gmail.com> Subject: [Qemu-devel] nbd: Add exports listing support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: pbonzini@redhat.com, famz@redhat.com, kraxel@redhat.com, stefanha@redhat.com 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