[PATCHv2] storage: pool: Allow more intricate nfs protocol versions

Ján Tomko jtomko at redhat.com
Fri Jul 1 13:50:35 UTC 2022


On a Friday in 2022, Peter Krempa wrote:
>Treat the 'protocolVer' field as a string so that e.g. '4.1' can be
>used. Forbid only ',' in the string as it's a separator of arguments for
>mount options.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
>
>v2:
>    - forbid ',' in the version string.
>
> docs/formatstorage.rst                          |  2 +-
> src/conf/schemas/storagepool.rng                |  4 +---
> src/conf/storage_conf.c                         | 17 ++++++++---------
> src/conf/storage_conf.h                         |  2 +-
> src/storage/storage_util.c                      |  4 ++--
> .../pool-netfs-protocol-ver-linux.argv          |  2 +-
> .../pool-netfs-protocol-ver.xml                 |  2 +-
> .../pool-netfs-protocol-ver.xml                 |  2 +-
> 8 files changed, 16 insertions(+), 19 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20220701/0f202df7/attachment.sig>


More information about the libvir-list mailing list