mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
docs: schema: Add missing <interleave> to devices
For input,hub,redirdev devices, their sub-elements should be interleaved. input device: interleave for <driver>, <alias>, <address> hub device: interleave for <alias>, <address> redirdev device: interleave for <source>, <alias>, <address>, <boot> Signed-off-by: Han Han <hhan@redhat.com> Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
a03f5cddfc
commit
f78b73e68e
@ -4270,51 +4270,53 @@
|
|||||||
|
|
||||||
<define name="input">
|
<define name="input">
|
||||||
<element name="input">
|
<element name="input">
|
||||||
<optional>
|
<interleave>
|
||||||
<element name="driver">
|
<optional>
|
||||||
<ref name="virtioOptions"/>
|
<element name="driver">
|
||||||
</element>
|
<ref name="virtioOptions"/>
|
||||||
</optional>
|
</element>
|
||||||
<choice>
|
</optional>
|
||||||
<group>
|
<choice>
|
||||||
<attribute name="type">
|
<group>
|
||||||
<choice>
|
<attribute name="type">
|
||||||
<value>tablet</value>
|
|
||||||
<value>mouse</value>
|
|
||||||
<value>keyboard</value>
|
|
||||||
</choice>
|
|
||||||
</attribute>
|
|
||||||
<optional>
|
|
||||||
<attribute name="bus">
|
|
||||||
<choice>
|
<choice>
|
||||||
<value>ps2</value>
|
<value>tablet</value>
|
||||||
<value>usb</value>
|
<value>mouse</value>
|
||||||
<value>xen</value>
|
<value>keyboard</value>
|
||||||
<value>virtio</value>
|
|
||||||
</choice>
|
</choice>
|
||||||
</attribute>
|
</attribute>
|
||||||
</optional>
|
<optional>
|
||||||
</group>
|
<attribute name="bus">
|
||||||
<group>
|
<choice>
|
||||||
<attribute name="type">
|
<value>ps2</value>
|
||||||
<value>passthrough</value>
|
<value>usb</value>
|
||||||
</attribute>
|
<value>xen</value>
|
||||||
<attribute name="bus">
|
<value>virtio</value>
|
||||||
<value>virtio</value>
|
</choice>
|
||||||
</attribute>
|
</attribute>
|
||||||
<element name="source">
|
</optional>
|
||||||
<attribute name="evdev">
|
</group>
|
||||||
<ref name="absFilePath"/>
|
<group>
|
||||||
|
<attribute name="type">
|
||||||
|
<value>passthrough</value>
|
||||||
</attribute>
|
</attribute>
|
||||||
</element>
|
<attribute name="bus">
|
||||||
</group>
|
<value>virtio</value>
|
||||||
</choice>
|
</attribute>
|
||||||
<optional>
|
<element name="source">
|
||||||
<ref name="alias"/>
|
<attribute name="evdev">
|
||||||
</optional>
|
<ref name="absFilePath"/>
|
||||||
<optional>
|
</attribute>
|
||||||
<ref name="address"/>
|
</element>
|
||||||
</optional>
|
</group>
|
||||||
|
</choice>
|
||||||
|
<optional>
|
||||||
|
<ref name="alias"/>
|
||||||
|
</optional>
|
||||||
|
<optional>
|
||||||
|
<ref name="address"/>
|
||||||
|
</optional>
|
||||||
|
</interleave>
|
||||||
</element>
|
</element>
|
||||||
</define>
|
</define>
|
||||||
<define name="hub">
|
<define name="hub">
|
||||||
@ -4322,12 +4324,14 @@
|
|||||||
<attribute name="type">
|
<attribute name="type">
|
||||||
<value>usb</value>
|
<value>usb</value>
|
||||||
</attribute>
|
</attribute>
|
||||||
<optional>
|
<interleave>
|
||||||
<ref name="alias"/>
|
<optional>
|
||||||
</optional>
|
<ref name="alias"/>
|
||||||
<optional>
|
</optional>
|
||||||
<ref name="address"/>
|
<optional>
|
||||||
</optional>
|
<ref name="address"/>
|
||||||
|
</optional>
|
||||||
|
</interleave>
|
||||||
</element>
|
</element>
|
||||||
</define>
|
</define>
|
||||||
<define name="redirdev">
|
<define name="redirdev">
|
||||||
@ -4338,16 +4342,18 @@
|
|||||||
<attribute name="type">
|
<attribute name="type">
|
||||||
<ref name="qemucdevSrcTypeChoice"/>
|
<ref name="qemucdevSrcTypeChoice"/>
|
||||||
</attribute>
|
</attribute>
|
||||||
<ref name="qemucdevSrcDef"/>
|
<interleave>
|
||||||
<optional>
|
<ref name="qemucdevSrcDef"/>
|
||||||
<ref name="alias"/>
|
<optional>
|
||||||
</optional>
|
<ref name="alias"/>
|
||||||
<optional>
|
</optional>
|
||||||
<ref name="address"/>
|
<optional>
|
||||||
</optional>
|
<ref name="address"/>
|
||||||
<optional>
|
</optional>
|
||||||
<ref name="deviceBoot"/>
|
<optional>
|
||||||
</optional>
|
<ref name="deviceBoot"/>
|
||||||
|
</optional>
|
||||||
|
</interleave>
|
||||||
</element>
|
</element>
|
||||||
</define>
|
</define>
|
||||||
<define name="redirfilter">
|
<define name="redirfilter">
|
||||||
|
Loading…
Reference in New Issue
Block a user