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
..
2017-10-10 09:27:00 +01:00
2017-04-27 14:13:19 +02:00
2017-04-11 13:23:01 +02:00
2016-12-06 13:34:00 +01:00
2017-10-05 14:23:20 +02:00
2016-05-02 07:18:25 +02:00
2017-07-26 15:35:02 +02:00
2016-06-14 08:25:25 +02:00
2017-04-11 13:23:01 +02:00
2017-08-08 12:19:17 +02:00
2017-07-26 15:33:45 +02:00
2017-07-26 15:33:45 +02:00
2017-10-05 09:09:50 +02:00
2017-04-27 14:13:19 +02:00
2016-05-20 17:16:21 +02:00
2016-09-14 13:18:07 +02:00
2016-08-24 17:43:29 +02:00
2016-05-02 07:18:25 +02:00
2017-10-05 09:09:50 +02:00
2017-08-08 12:19:17 +02:00
2017-08-08 12:19:17 +02:00