From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59223) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bykxQ-0006Es-0R for qemu-devel@nongnu.org; Mon, 24 Oct 2016 15:30:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bykxN-0007PI-EM for qemu-devel@nongnu.org; Mon, 24 Oct 2016 15:30:52 -0400 From: Ashijeet Acharya Date: Tue, 25 Oct 2016 00:57:52 +0530 Message-Id: <1477337274-7939-1-git-send-email-ashijeetacharya@gmail.com> Subject: [Qemu-devel] [PATCH v2 0/2] block: allow blockdev-add for NFS List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: pl@kamp.de Cc: jcody@redhat.com, kwolf@redhat.com, mreitz@redhat.com, armbru@redhat.com, eblake@redhat.com, qemu-devel@nongnu.org, qemu-block@nongnu.org, Ashijeet Acharya Previously posted series patches: v1: https://lists.gnu.org/archive/html/qemu-devel/2016-10/msg04487.html This series adds blockdev-add support for NFS block driver. Patch 1 helps to prepare NFS driver to make use of several runtime_opts as they appear in the URI. This will make NFS to do things similar to the way other drivers available in the block layer do. Patch 2 helps to allow blockdev-add support for the NFS block driver by making the NFS option available. Changes in v2: - drop strcmp() condition check for host and path in nfs_parse_uri() - drop "export" completely - initialize client->context bedore setting query parameters - fix the QDict options being passed to nfs_client_open() and make use of url Ashijeet Acharya (2): block/nfs: Introduce runtime_opts in NFS qapi: allow blockdev-add for NFS block/nfs.c | 348 +++++++++++++++++++++++++++++++++++++-------------- qapi/block-core.json | 56 ++++++++- 2 files changed, 305 insertions(+), 99 deletions(-) -- 2.6.2