[libvirt] [PATCH 0/3] Allow adding mountOpts to the storage pool mount command

John Ferlan jferlan at redhat.com
Tue Dec 18 20:03:14 UTC 2018


Modify the generation of the command line to allow usage of a
new XML pool source directory "mount_opts" in order to allow (for
instance) starting an NFS pool with specific mount options.

John Ferlan (3):
  storage: Add mount options attribute for pool source dir element
  storage: Add mountOpts to the storage pool mount command line
  virsh: Add source-mount-opts for pool commands

 docs/formatstorage.html.in                    |  8 ++++++++
 docs/schemas/storagepool.rng                  |  5 +++++
 src/conf/storage_conf.c                       | 12 +++++++++--
 src/conf/storage_conf.h                       |  3 +++
 src/storage/storage_util.c                    |  4 ++++
 .../pool-netfs-mountopts.argv                 |  1 +
 tests/storagepoolxml2argvtest.c               |  1 +
 .../pool-netfs-mountopts.xml                  | 20 +++++++++++++++++++
 .../pool-netfs-mountopts.xml                  | 20 +++++++++++++++++++
 tests/storagepoolxml2xmltest.c                |  1 +
 tools/virsh-pool.c                            | 15 +++++++++++---
 tools/virsh.pod                               |  5 +++++
 12 files changed, 90 insertions(+), 5 deletions(-)
 create mode 100644 tests/storagepoolxml2argvdata/pool-netfs-mountopts.argv
 create mode 100644 tests/storagepoolxml2xmlin/pool-netfs-mountopts.xml
 create mode 100644 tests/storagepoolxml2xmlout/pool-netfs-mountopts.xml

-- 
2.17.2




More information about the libvir-list mailing list