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>
<attribute name="deprecated">
<choice>
<value>yes</value>
<value>no</value>
</choice>
<ref name="virYesNo"/>
</attribute>
</optional>
<text/>

View File

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

View File

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

View File

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