mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 07:59:00 +00:00
docs: Improve the schema for fs device
<filesystemtgt> is redundant, as every group uses it; <address> shouldn't be in <filesystemtgt> in case of the meaning could be "filesystemtarget"; The elements <address>, <alias>, <target>, ... should be interleaved.
This commit is contained in:
parent
74e772dd61
commit
7adeac67e8
@ -1210,7 +1210,6 @@
|
|||||||
</attribute>
|
</attribute>
|
||||||
<empty/>
|
<empty/>
|
||||||
</element>
|
</element>
|
||||||
<ref name="filesystemtgt"/>
|
|
||||||
</interleave>
|
</interleave>
|
||||||
</group>
|
</group>
|
||||||
<group>
|
<group>
|
||||||
@ -1224,7 +1223,6 @@
|
|||||||
</attribute>
|
</attribute>
|
||||||
<empty/>
|
<empty/>
|
||||||
</element>
|
</element>
|
||||||
<ref name="filesystemtgt"/>
|
|
||||||
</interleave>
|
</interleave>
|
||||||
</group>
|
</group>
|
||||||
<group>
|
<group>
|
||||||
@ -1257,7 +1255,6 @@
|
|||||||
<empty/>
|
<empty/>
|
||||||
</element>
|
</element>
|
||||||
</optional>
|
</optional>
|
||||||
<ref name="filesystemtgt"/>
|
|
||||||
</interleave>
|
</interleave>
|
||||||
</group>
|
</group>
|
||||||
<group>
|
<group>
|
||||||
@ -1271,42 +1268,39 @@
|
|||||||
</attribute>
|
</attribute>
|
||||||
<empty/>
|
<empty/>
|
||||||
</element>
|
</element>
|
||||||
<ref name="filesystemtgt"/>
|
|
||||||
</interleave>
|
</interleave>
|
||||||
</group>
|
</group>
|
||||||
</choice>
|
</choice>
|
||||||
<optional>
|
<interleave>
|
||||||
<attribute name="accessmode">
|
<element name="target">
|
||||||
<choice>
|
<attribute name="dir">
|
||||||
<value>passthrough</value>
|
<ref name="absDirPath"/>
|
||||||
<value>mapped</value>
|
</attribute>
|
||||||
<value>squash</value>
|
|
||||||
</choice>
|
|
||||||
</attribute>
|
|
||||||
</optional>
|
|
||||||
<optional>
|
|
||||||
<element name='readonly'>
|
|
||||||
<empty/>
|
<empty/>
|
||||||
</element>
|
</element>
|
||||||
</optional>
|
<optional>
|
||||||
|
<attribute name="accessmode">
|
||||||
|
<choice>
|
||||||
|
<value>passthrough</value>
|
||||||
|
<value>mapped</value>
|
||||||
|
<value>squash</value>
|
||||||
|
</choice>
|
||||||
|
</attribute>
|
||||||
|
</optional>
|
||||||
|
<optional>
|
||||||
|
<element name='readonly'>
|
||||||
|
<empty/>
|
||||||
|
</element>
|
||||||
|
</optional>
|
||||||
|
<optional>
|
||||||
|
<ref name="alias"/>
|
||||||
|
</optional>
|
||||||
|
<optional>
|
||||||
|
<ref name="address"/>
|
||||||
|
</optional>
|
||||||
|
</interleave>
|
||||||
</element>
|
</element>
|
||||||
</define>
|
</define>
|
||||||
<define name="filesystemtgt">
|
|
||||||
<interleave>
|
|
||||||
<optional>
|
|
||||||
<ref name="alias"/>
|
|
||||||
</optional>
|
|
||||||
<optional>
|
|
||||||
<ref name="address"/>
|
|
||||||
</optional>
|
|
||||||
<element name="target">
|
|
||||||
<attribute name="dir">
|
|
||||||
<ref name="absDirPath"/>
|
|
||||||
</attribute>
|
|
||||||
<empty/>
|
|
||||||
</element>
|
|
||||||
</interleave>
|
|
||||||
</define>
|
|
||||||
<!--
|
<!--
|
||||||
An interface description can either be of type bridge in which case
|
An interface description can either be of type bridge in which case
|
||||||
it will use a bridging source, or of type ethernet which uses a device
|
it will use a bridging source, or of type ethernet which uses a device
|
||||||
|
Loading…
x
Reference in New Issue
Block a user