docs: use virYesNo definition in more schemas

A few places are still using an expend yes/no choice instead of the
common virYesNo definition.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé 2022-01-10 11:08:01 +00:00
parent 08e3d9ed24
commit 4bb150ed3a
4 changed files with 7 additions and 25 deletions

View File

@ -409,10 +409,7 @@
</optional> </optional>
<optional> <optional>
<attribute name="deprecated"> <attribute name="deprecated">
<choice> <ref name="virYesNo"/>
<value>yes</value>
<value>no</value>
</choice>
</attribute> </attribute>
</optional> </optional>
<text/> <text/>

View File

@ -60,10 +60,7 @@
<element name="server"> <element name="server">
<optional> <optional>
<attribute name="tls"> <attribute name="tls">
<choice> <ref name="virYesNo"/>
<value>yes</value>
<value>no</value>
</choice>
</attribute> </attribute>
</optional> </optional>
<choice> <choice>

View File

@ -156,10 +156,7 @@
</attribute> </attribute>
<optional> <optional>
<attribute name="deprecated"> <attribute name="deprecated">
<choice> <ref name="virYesNo"/>
<value>yes</value>
<value>no</value>
</choice>
</attribute> </attribute>
</optional> </optional>
<text/> <text/>

View File

@ -300,18 +300,12 @@
<element name="loader"> <element name="loader">
<optional> <optional>
<attribute name="readonly"> <attribute name="readonly">
<choice> <ref name="virYesNo"/>
<value>yes</value>
<value>no</value>
</choice>
</attribute> </attribute>
</optional> </optional>
<optional> <optional>
<attribute name="secure"> <attribute name="secure">
<choice> <ref name="virYesNo"/>
<value>yes</value>
<value>no</value>
</choice>
</attribute> </attribute>
</optional> </optional>
<optional> <optional>
@ -5331,11 +5325,8 @@
<ref name="tpm-backend-emulator-active-pcr-banks"/> <ref name="tpm-backend-emulator-active-pcr-banks"/>
<optional> <optional>
<attribute name="persistent_state"> <attribute name="persistent_state">
<choice> <ref name="virYesNo"/>
<value>yes</value> </attribute>
<value>no</value>
</choice>
</attribute>
</optional> </optional>
</group> </group>
</choice> </choice>