mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
schema: domain: Allow interleaving of character device config elements
Allow interleaving in the 'qemucdevSrcDef' definition which is shared by all places using character device as backend. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
40a8a74be6
commit
1210074d5e
@ -4716,82 +4716,85 @@
|
|||||||
<ref name="qemucdevSrcTypeChoice"/>
|
<ref name="qemucdevSrcTypeChoice"/>
|
||||||
</attribute>
|
</attribute>
|
||||||
</define>
|
</define>
|
||||||
|
|
||||||
<define name="qemucdevSrcDef">
|
<define name="qemucdevSrcDef">
|
||||||
<zeroOrMore>
|
<interleave>
|
||||||
<element name="source">
|
<zeroOrMore>
|
||||||
<optional>
|
<element name="source">
|
||||||
<attribute name="mode"/>
|
|
||||||
</optional>
|
|
||||||
<optional>
|
|
||||||
<attribute name="path"/>
|
|
||||||
</optional>
|
|
||||||
<optional>
|
|
||||||
<attribute name="host"/>
|
|
||||||
</optional>
|
|
||||||
<optional>
|
|
||||||
<attribute name="service"/>
|
|
||||||
</optional>
|
|
||||||
<optional>
|
|
||||||
<attribute name="channel"/>
|
|
||||||
</optional>
|
|
||||||
<optional>
|
|
||||||
<attribute name="master"/>
|
|
||||||
</optional>
|
|
||||||
<optional>
|
|
||||||
<attribute name="slave"/>
|
|
||||||
</optional>
|
|
||||||
<optional>
|
|
||||||
<attribute name="append">
|
|
||||||
<ref name="virOnOff"/>
|
|
||||||
</attribute>
|
|
||||||
</optional>
|
|
||||||
<optional>
|
|
||||||
<attribute name="tls">
|
|
||||||
<ref name="virYesNo"/>
|
|
||||||
</attribute>
|
|
||||||
</optional>
|
|
||||||
<optional>
|
|
||||||
<ref name="reconnect"/>
|
|
||||||
</optional>
|
|
||||||
<interleave>
|
|
||||||
<zeroOrMore>
|
|
||||||
<ref name="devSeclabel"/>
|
|
||||||
</zeroOrMore>
|
|
||||||
<optional>
|
<optional>
|
||||||
<ref name="clipboard"/>
|
<attribute name="mode"/>
|
||||||
</optional>
|
</optional>
|
||||||
<optional>
|
<optional>
|
||||||
<ref name="mousemode"/>
|
<attribute name="path"/>
|
||||||
</optional>
|
</optional>
|
||||||
</interleave>
|
<optional>
|
||||||
</element>
|
<attribute name="host"/>
|
||||||
</zeroOrMore>
|
</optional>
|
||||||
<optional>
|
<optional>
|
||||||
<element name="protocol">
|
<attribute name="service"/>
|
||||||
<optional>
|
</optional>
|
||||||
<attribute name="type">
|
<optional>
|
||||||
<choice>
|
<attribute name="channel"/>
|
||||||
<value>raw</value>
|
</optional>
|
||||||
<value>telnet</value>
|
<optional>
|
||||||
<value>telnets</value>
|
<attribute name="master"/>
|
||||||
<value>tls</value>
|
</optional>
|
||||||
</choice>
|
<optional>
|
||||||
|
<attribute name="slave"/>
|
||||||
|
</optional>
|
||||||
|
<optional>
|
||||||
|
<attribute name="append">
|
||||||
|
<ref name="virOnOff"/>
|
||||||
|
</attribute>
|
||||||
|
</optional>
|
||||||
|
<optional>
|
||||||
|
<attribute name="tls">
|
||||||
|
<ref name="virYesNo"/>
|
||||||
|
</attribute>
|
||||||
|
</optional>
|
||||||
|
<optional>
|
||||||
|
<ref name="reconnect"/>
|
||||||
|
</optional>
|
||||||
|
<interleave>
|
||||||
|
<zeroOrMore>
|
||||||
|
<ref name="devSeclabel"/>
|
||||||
|
</zeroOrMore>
|
||||||
|
<optional>
|
||||||
|
<ref name="clipboard"/>
|
||||||
|
</optional>
|
||||||
|
<optional>
|
||||||
|
<ref name="mousemode"/>
|
||||||
|
</optional>
|
||||||
|
</interleave>
|
||||||
|
</element>
|
||||||
|
</zeroOrMore>
|
||||||
|
<optional>
|
||||||
|
<element name="protocol">
|
||||||
|
<optional>
|
||||||
|
<attribute name="type">
|
||||||
|
<choice>
|
||||||
|
<value>raw</value>
|
||||||
|
<value>telnet</value>
|
||||||
|
<value>telnets</value>
|
||||||
|
<value>tls</value>
|
||||||
|
</choice>
|
||||||
|
</attribute>
|
||||||
|
</optional>
|
||||||
|
</element>
|
||||||
|
</optional>
|
||||||
|
<optional>
|
||||||
|
<element name="log">
|
||||||
|
<attribute name="file">
|
||||||
|
<ref name="absFilePath"/>
|
||||||
</attribute>
|
</attribute>
|
||||||
</optional>
|
<optional>
|
||||||
</element>
|
<attribute name="append">
|
||||||
</optional>
|
<ref name="virOnOff"/>
|
||||||
<optional>
|
</attribute>
|
||||||
<element name="log">
|
</optional>
|
||||||
<attribute name="file">
|
</element>
|
||||||
<ref name="absFilePath"/>
|
</optional>
|
||||||
</attribute>
|
</interleave>
|
||||||
<optional>
|
|
||||||
<attribute name="append">
|
|
||||||
<ref name="virOnOff"/>
|
|
||||||
</attribute>
|
|
||||||
</optional>
|
|
||||||
</element>
|
|
||||||
</optional>
|
|
||||||
</define>
|
</define>
|
||||||
<!--
|
<!--
|
||||||
The description for a console
|
The description for a console
|
||||||
|
Loading…
Reference in New Issue
Block a user