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:
Han Han 2018-06-22 13:24:02 +08:00 committed by Michal Privoznik
parent a03f5cddfc
commit f78b73e68e

View File

@ -4270,6 +4270,7 @@
<define name="input">
<element name="input">
<interleave>
<optional>
<element name="driver">
<ref name="virtioOptions"/>
@ -4315,6 +4316,7 @@
<optional>
<ref name="address"/>
</optional>
</interleave>
</element>
</define>
<define name="hub">
@ -4322,12 +4324,14 @@
<attribute name="type">
<value>usb</value>
</attribute>
<interleave>
<optional>
<ref name="alias"/>
</optional>
<optional>
<ref name="address"/>
</optional>
</interleave>
</element>
</define>
<define name="redirdev">
@ -4338,6 +4342,7 @@
<attribute name="type">
<ref name="qemucdevSrcTypeChoice"/>
</attribute>
<interleave>
<ref name="qemucdevSrcDef"/>
<optional>
<ref name="alias"/>
@ -4348,6 +4353,7 @@
<optional>
<ref name="deviceBoot"/>
</optional>
</interleave>
</element>
</define>
<define name="redirfilter">