libvirt/docs/schemas
Eric Blake ecd881b7a7 storage: add network-dir as new storage volume type
In the 'directory' and 'netfs' storage pools, a user can see
both 'file' and 'dir' storage volume types, to know when they
can descend into a subdirectory.  But in a network-based storage
pool, such as the upcoming 'gluster' pool, we use 'network'
instead of 'file', and did not have any counterpart for a
directory until this patch.  Adding a new volume type
'network-dir' is better than reusing 'dir', because it makes
it clear that the only way to access 'network' volumes within
that container is through the network mounting (leaving 'dir'
for something accessible in the local file system).

* include/libvirt/libvirt.h.in (virStorageVolType): Expand enum.
* docs/formatstorage.html.in: Document it.
* docs/schemasa/storagevol.rng (vol): Allow new value.
* src/conf/storage_conf.c (virStorageVol): Use new value.
* src/qemu/qemu_command.c (qemuBuildVolumeString): Fix client.
* src/qemu/qemu_conf.c (qemuTranslateDiskSourcePool): Likewise.
* tools/virsh-volume.c (vshVolumeTypeToString): Likewise.
* src/storage/storage_backend_fs.c
(virStorageBackendFileSystemVolDelete): Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
2013-11-25 12:29:49 -07:00
..
basictypes.rng storage: use valid XML for awkward volume names 2013-11-21 17:29:47 -07:00
capability.rng capabilities: add baselabel per sec driver/virt type to secmodel 2013-10-29 07:06:04 -06:00
domain.rng snapshot: update rng to support full domain in xml 2011-09-03 08:12:13 -06:00
domaincommon.rng qemu: Add support for paravirtual spinlocks in the guest 2013-11-08 09:44:42 +01:00
domainsnapshot.rng Add support for storage format in FS <driver> 2013-05-13 13:15:19 +01:00
interface.rng xml: Clean up schemas to use shared data types instead of local 2012-03-08 15:31:54 +01:00
Makefile.am conf: add features to volume target XML 2013-06-21 13:25:30 +02:00
network.rng Add forwarder attribute to <dns/> element 2013-09-17 17:47:33 -06:00
networkcommon.rng Add '<nat>' element to '<forward>' network schemas 2013-09-05 13:45:49 +02:00
nodedev.rng nodedev: Resolve Relax-NG validity error 2013-10-04 07:52:45 -04:00
nwfilter.rng Correct invalid RNG schemas 2013-03-21 17:24:08 +01:00
secret.rng secret: add iscsi to possible usage types 2013-03-22 12:10:23 +08:00
storageencryption.rng rng: Have colorful *.rng with editor 2013-01-23 23:03:17 +08:00
storagefilefeatures.rng conf: add features to volume target XML 2013-06-21 13:25:30 +02:00
storagepool.rng storage: document gluster pool 2013-11-25 11:03:19 -07:00
storagevol.rng storage: add network-dir as new storage volume type 2013-11-25 12:29:49 -07:00