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 <cfergeau(a)redhat.com>
---
docs/formatdomain.html.in | 2 +-
docs/formatstorage.html.in | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano