1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-23 21:34:54 +03:00
libvirt/docs/schemas
John Ferlan 37537a7c64 conf: Add/Allow parsing the encryption in the disk source
Since the virStorageEncryptionPtr encryption; is a member of
 _virStorageSource it really should be allowed to be a subelement
of the disk <source> for various disk formats:

   Source{File|Dir|Block|Volume}
   SourceProtocol{RBD|ISCSI|NBD|Gluster|Simple|HTTP}

NB: Simple includes sheepdog, ftp, ftps, tftp

That way we can set up to allow the <encryption> element to be
formatted within the disk source, but we still need to be wary
from whence the element was read - see keep track and when it
comes to format the data, ensure it's written in the correct place.

Modify the qemuxml2argvtest to add a parse failure when there is an
<encryption> as a child of <disk> *and* an <encryption> as a child
of <source>.

The virschematest will read the new test files and validate from a
RNG viewpoint things are fine.
2017-10-19 15:32:50 -04:00
..
basictypes.rng node_device: detect CCW devices 2017-05-26 10:44:05 -04:00
capability.rng rng: Fix formatting 2017-09-12 13:41:21 +02:00
cputypes.rng Add support for CPU cache specification 2017-04-27 22:07:14 +02:00
domain.rng conf: set up for per-grammar overrides in schemas 2014-04-15 21:07:59 +02:00
domaincaps.rng schema: domaincaps: make machine element optional 2017-03-26 18:35:14 +04:00
domaincommon.rng conf: Add/Allow parsing the encryption in the disk source 2017-10-19 15:32:50 -04:00
domainsnapshot.rng qemu: Store save cookie in save images and snapshots 2017-06-07 13:36:02 +02:00
interface.rng docs: make interface start mode element optional 2017-03-27 10:22:15 -04:00
network.rng rng: Fix formatting 2017-09-12 13:41:21 +02:00
networkcommon.rng domain_conf: Introduce <mtu/> to <interface/> 2017-01-26 09:59:56 +01:00
nodedev.rng rng: Fix formatting 2017-09-12 13:41:21 +02:00
nwfilter.rng rng: Fix formatting 2017-09-12 13:41:21 +02:00
secret.rng conf: Add new secret type "tls" 2016-09-09 08:20:05 -04:00
storagecommon.rng docs,rng: Adjust storage pool name grammar checks 2017-10-05 08:10:46 -04:00
storagepool.rng docs,rng: Adjust storage pool name grammar checks 2017-10-05 08:10:46 -04:00
storagevol.rng storage: unify permission formatting 2014-12-16 15:47:56 +01:00