mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-09 01:04:59 +00:00
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:
parent
08e3d9ed24
commit
4bb150ed3a
@ -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/>
|
||||||
|
@ -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>
|
||||||
|
@ -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/>
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user