mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
schemas: Allow fsDriver to be interleaved
Our <filesystem/> element can have <driver/> child element. But with the way our schema is written it can't be interleaved and has to go first. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
d53b092353
commit
56fe81af70
@ -2628,10 +2628,10 @@
|
|||||||
<attribute name="type">
|
<attribute name="type">
|
||||||
<value>file</value>
|
<value>file</value>
|
||||||
</attribute>
|
</attribute>
|
||||||
|
<interleave>
|
||||||
<optional>
|
<optional>
|
||||||
<ref name="fsDriver"/>
|
<ref name="fsDriver"/>
|
||||||
</optional>
|
</optional>
|
||||||
<interleave>
|
|
||||||
<element name="source">
|
<element name="source">
|
||||||
<attribute name="file">
|
<attribute name="file">
|
||||||
<ref name="absFilePath"/>
|
<ref name="absFilePath"/>
|
||||||
@ -2644,10 +2644,10 @@
|
|||||||
<attribute name="type">
|
<attribute name="type">
|
||||||
<value>block</value>
|
<value>block</value>
|
||||||
</attribute>
|
</attribute>
|
||||||
|
<interleave>
|
||||||
<optional>
|
<optional>
|
||||||
<ref name="fsDriver"/>
|
<ref name="fsDriver"/>
|
||||||
</optional>
|
</optional>
|
||||||
<interleave>
|
|
||||||
<element name="source">
|
<element name="source">
|
||||||
<attribute name="dev">
|
<attribute name="dev">
|
||||||
<ref name="absFilePath"/>
|
<ref name="absFilePath"/>
|
||||||
@ -2663,13 +2663,13 @@
|
|||||||
<value>mount</value>
|
<value>mount</value>
|
||||||
</attribute>
|
</attribute>
|
||||||
</optional>
|
</optional>
|
||||||
|
<interleave>
|
||||||
<optional>
|
<optional>
|
||||||
<ref name="fsDriver"/>
|
<ref name="fsDriver"/>
|
||||||
</optional>
|
</optional>
|
||||||
<optional>
|
<optional>
|
||||||
<ref name="fsBinary"/>
|
<ref name="fsBinary"/>
|
||||||
</optional>
|
</optional>
|
||||||
<interleave>
|
|
||||||
<element name="source">
|
<element name="source">
|
||||||
<attribute name="dir">
|
<attribute name="dir">
|
||||||
<ref name="absDirPath"/>
|
<ref name="absDirPath"/>
|
||||||
@ -2684,10 +2684,10 @@
|
|||||||
<value>bind</value>
|
<value>bind</value>
|
||||||
</attribute>
|
</attribute>
|
||||||
</optional>
|
</optional>
|
||||||
|
<interleave>
|
||||||
<optional>
|
<optional>
|
||||||
<ref name="fsDriver"/>
|
<ref name="fsDriver"/>
|
||||||
</optional>
|
</optional>
|
||||||
<interleave>
|
|
||||||
<element name="source">
|
<element name="source">
|
||||||
<attribute name="dir">
|
<attribute name="dir">
|
||||||
<ref name="absDirPath"/>
|
<ref name="absDirPath"/>
|
||||||
@ -2700,10 +2700,10 @@
|
|||||||
<attribute name="type">
|
<attribute name="type">
|
||||||
<value>template</value>
|
<value>template</value>
|
||||||
</attribute>
|
</attribute>
|
||||||
|
<interleave>
|
||||||
<optional>
|
<optional>
|
||||||
<ref name="fsDriver"/>
|
<ref name="fsDriver"/>
|
||||||
</optional>
|
</optional>
|
||||||
<interleave>
|
|
||||||
<element name="source">
|
<element name="source">
|
||||||
<attribute name="name">
|
<attribute name="name">
|
||||||
<ref name="genericName"/>
|
<ref name="genericName"/>
|
||||||
@ -2716,10 +2716,10 @@
|
|||||||
<attribute name="type">
|
<attribute name="type">
|
||||||
<value>ram</value>
|
<value>ram</value>
|
||||||
</attribute>
|
</attribute>
|
||||||
|
<interleave>
|
||||||
<optional>
|
<optional>
|
||||||
<ref name="fsDriver"/>
|
<ref name="fsDriver"/>
|
||||||
</optional>
|
</optional>
|
||||||
<interleave>
|
|
||||||
<element name="source">
|
<element name="source">
|
||||||
<attribute name="usage">
|
<attribute name="usage">
|
||||||
<ref name="unsignedLong"/>
|
<ref name="unsignedLong"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user