On Wed, Mar 27, 2019 at 12:21:25PM +0100, Christophe Fergeau wrote:
There are 2 examples of use of <encryption> which uses a 'type'
attribute rather than 'format' as documented in the XML schema:

 <define name='encryption'>
   <element name='encryption'>
     <attribute name='format'>
       <choice>
         <value>default</value>
         <value>qcow</value>
         <value>luks</value>
       </choice>
     </attribute>
     <interleave>
       <ref name='secret'/>
       <optional>
         <element name='cipher'>
           <ref name='keycipher'/>
         </element>
         <element name='ivgen'>
           <ref name='keyivgen'/>
         </element>
       </optional>
     </interleave>
   </element>
 </define>

This also matches what virStorageEncryptionParseNode() is doing.

Signed-off-by: Christophe Fergeau <[email protected]>
---
docs/formatdomain.html.in  | 2 +-
docs/formatstorage.html.in | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)


Reviewed-by: Ján Tomko <[email protected]>

Jano

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to