block/nfs: Introduce runtime_opts in NFS

Enterprise / Virtualization / QEMU - Ashijeet Acharya [gmail.com] - 31 October 2016 10:52 UTC

Make NFS block driver use various fine grained runtime_opts. Set .bdrv_parse_filename() to nfs_parse_filename() and introduce two new functions nfs_parse_filename() and nfs_parse_uri() to help parsing the URI. Add a new option "server" which then accepts a new struct NFSServer.

94d6a7a block/nfs: Introduce runtime_opts in NFS
block/nfs.c | 442 ++++++++++++++++++++++++++++++++++++++++++++++-------------
1 file changed, 349 insertions(+), 93 deletions(-)

Upstream: git.qemu.org


  • Share