mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
schema: Fix TPM version rules
According to our parser (virDomainTPMDefParseXML()) the version is an optional attribute and independent of TPM backend type. Therefore, it's not a choice group, which is what our RNG schema suggests. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
This commit is contained in:
parent
ec554e160b
commit
3ae6f5e10e
@ -4776,18 +4776,14 @@
|
||||
</optional>
|
||||
</group>
|
||||
</choice>
|
||||
<choice>
|
||||
<group>
|
||||
<optional>
|
||||
<attribute name="version">
|
||||
<choice>
|
||||
<value>1.2</value>
|
||||
<value>2.0</value>
|
||||
</choice>
|
||||
</attribute>
|
||||
</optional>
|
||||
</group>
|
||||
</choice>
|
||||
<optional>
|
||||
<attribute name="version">
|
||||
<choice>
|
||||
<value>1.2</value>
|
||||
<value>2.0</value>
|
||||
</choice>
|
||||
</attribute>
|
||||
</optional>
|
||||
</element>
|
||||
</define>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user