]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: Add the nfsvers to the command line
authorJohn Ferlan <jferlan@redhat.com>
Fri, 11 Jan 2019 18:42:18 +0000 (13:42 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 30 Jan 2019 00:16:07 +0000 (19:16 -0500)
commit3d3647e14f680015495f0f4650df8a2c1e230ec8
tree00d7dc4907bf828710b67a88c1a5011a476def96
parent801f8cfb37f12007878df53332fdc03245a9d40d
storage: Add the nfsvers to the command line

If protocolVer present, add the -o nfsvers=# to the command
line for the NFS Storage Pool

Signed-off-by: John Ferlan <jferlan@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/storage/storage_util.c
tests/storagepoolxml2argvdata/pool-netfs-protocol-ver-freebsd.argv [new file with mode: 0644]
tests/storagepoolxml2argvdata/pool-netfs-protocol-ver-linux.argv [new file with mode: 0644]
tests/storagepoolxml2argvdata/pool-netfs-protocol-ver.argv [new file with mode: 0644]
tests/storagepoolxml2argvtest.c