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