All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/2] block: allow blockdev-add for NFS
@ 2016-10-27 10:43 Ashijeet Acharya
  2016-10-27 10:43 ` [Qemu-devel] [PATCH v3 1/2] block/nfs: Introduce runtime_opts in NFS Ashijeet Acharya
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Ashijeet Acharya @ 2016-10-27 10:43 UTC (permalink / raw)
  To: kwolf
  Cc: eblake, pl, jcody, mreitz, armbru, qemu-devel, qemu-block,
	Ashijeet Acharya

Previously posted series patches:
v2: https://lists.gnu.org/archive/html/qemu-devel/2016-10/msg05844.html
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 v3:
- minor coding style fix
- set ret=-EINVAL in nfs_parse_uri()
- fix the bug of setting errp twice
- make all error paths 'goto fail'
- pass 0 as a default value in qemu_opt_get_number()
- drop nfs_set_pagecache_ttl()
- introduce new enum NFSTransport and set 'type' to use it NFSServer
- mention default values of query parameters
- change the names of query parameters in JSON

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          | 331 ++++++++++++++++++++++++++++++++++++---------------
 qapi/block-core.json |  77 +++++++++++-
 2 files changed, 311 insertions(+), 97 deletions(-)

-- 
2.6.2

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

end of thread, other threads:[~2016-10-27 16:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-27 10:43 [Qemu-devel] [PATCH v3 0/2] block: allow blockdev-add for NFS Ashijeet Acharya
2016-10-27 10:43 ` [Qemu-devel] [PATCH v3 1/2] block/nfs: Introduce runtime_opts in NFS Ashijeet Acharya
2016-10-27 10:43 ` [Qemu-devel] [PATCH v3 2/2] qapi: allow blockdev-add for NFS Ashijeet Acharya
2016-10-27 16:45   ` Kevin Wolf
2016-10-27 16:43 ` [Qemu-devel] [PATCH v3 0/2] block: " Kevin Wolf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.