mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +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>
|
||||
<attribute name="deprecated">
|
||||
<choice>
|
||||
<value>yes</value>
|
||||
<value>no</value>
|
||||
</choice>
|
||||
<ref name="virYesNo"/>
|
||||
</attribute>
|
||||
</optional>
|
||||
<text/>
|
||||
|
@ -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>
|
||||
|
@ -156,10 +156,7 @@
|
||||
</attribute>
|
||||
<optional>
|
||||
<attribute name="deprecated">
|
||||
<choice>
|
||||
<value>yes</value>
|
||||
<value>no</value>
|
||||
</choice>
|
||||
<ref name="virYesNo"/>
|
||||
</attribute>
|
||||
</optional>
|
||||
<text/>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user