提交 aa7847d3 编写于 作者: J Jim Meyering

maint: convert leading TABs in *.rng files to equivalent spaces

* docs/schemas/capability.rng: Likewise.
* docs/schemas/network.rng: Likewise.
* docs/schemas/nodedev.rng: Likewise.
* docs/schemas/storagepool.rng: Likewise.
* docs/schemas/storagevol.rng: Likewise.
Use these commands:
t=$'\t'
git ls-files | grep '\.rng$' | xargs grep -lE "^ *$t" \
  | xargs perl -MText::Tabs -ni -le \
    '$m=/^( *\t[ \t]*)(.*)/; print $m ? expand($1) . $2 : $_'
上级 20578bda
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<ref name='hostcaps'/> <ref name='hostcaps'/>
<zeroOrMore> <zeroOrMore>
<ref name='guestcaps'/> <ref name='guestcaps'/>
</zeroOrMore> </zeroOrMore>
</element> </element>
</define> </define>
...@@ -19,24 +19,24 @@ ...@@ -19,24 +19,24 @@
<define name='hostcaps'> <define name='hostcaps'>
<element name='host'> <element name='host'>
<element name='cpu'> <element name='cpu'>
<element name='arch'> <element name='arch'>
<ref name='archnames'/> <ref name='archnames'/>
</element> </element>
<optional> <optional>
<ref name='cpufeatures'/> <ref name='cpufeatures'/>
</optional> </optional>
<optional> <optional>
<ref name='cpuspec'/> <ref name='cpuspec'/>
</optional> </optional>
</element> </element>
<optional> <optional>
<ref name='migration'/> <ref name='migration'/>
</optional> </optional>
<optional> <optional>
<ref name='topology'/> <ref name='topology'/>
</optional> </optional>
<optional> <optional>
<ref name='secmodel'/> <ref name='secmodel'/>
</optional> </optional>
</element> </element>
</define> </define>
...@@ -56,16 +56,16 @@ ...@@ -56,16 +56,16 @@
<define name='cpufeatures'> <define name='cpufeatures'>
<element name='features'> <element name='features'>
<optional> <optional>
<element name='pae'><empty/></element> <element name='pae'><empty/></element>
</optional> </optional>
<optional> <optional>
<element name='nonpae'><empty/></element> <element name='nonpae'><empty/></element>
</optional> </optional>
<optional> <optional>
<element name='vmx'><empty/></element> <element name='vmx'><empty/></element>
</optional> </optional>
<optional> <optional>
<element name='svm'><empty/></element> <element name='svm'><empty/></element>
</optional> </optional>
</element> </element>
</define> </define>
...@@ -98,22 +98,22 @@ ...@@ -98,22 +98,22 @@
<define name='migration'> <define name='migration'>
<element name='migration_features'> <element name='migration_features'>
<optional> <optional>
<element name='live'> <element name='live'>
<empty/> <empty/>
</element> </element>
</optional> </optional>
<optional> <optional>
<element name='uri_transports'> <element name='uri_transports'>
<oneOrMore> <oneOrMore>
<element name='uri_transport'> <element name='uri_transport'>
<choice> <choice>
<value>esx</value> <value>esx</value>
<value>tcp</value> <value>tcp</value>
<value>xenmigr</value> <value>xenmigr</value>
</choice> </choice>
</element> </element>
</oneOrMore> </oneOrMore>
</element> </element>
</optional> </optional>
</element> </element>
</define> </define>
...@@ -121,12 +121,12 @@ ...@@ -121,12 +121,12 @@
<define name='topology'> <define name='topology'>
<element name='topology'> <element name='topology'>
<element name='cells'> <element name='cells'>
<attribute name='num'> <attribute name='num'>
<ref name='uint'/> <ref name='uint'/>
</attribute> </attribute>
<oneOrMore> <oneOrMore>
<ref name='cell'/> <ref name='cell'/>
</oneOrMore> </oneOrMore>
</element> </element>
</element> </element>
</define> </define>
...@@ -134,18 +134,18 @@ ...@@ -134,18 +134,18 @@
<define name='cell'> <define name='cell'>
<element name='cell'> <element name='cell'>
<attribute name='id'> <attribute name='id'>
<ref name='uint'/> <ref name='uint'/>
</attribute> </attribute>
<optional> <optional>
<element name='cpus'> <element name='cpus'>
<attribute name='num'> <attribute name='num'>
<ref name='uint'/> <ref name='uint'/>
</attribute> </attribute>
<oneOrMore> <oneOrMore>
<ref name='cpu'/> <ref name='cpu'/>
</oneOrMore> </oneOrMore>
</element> </element>
</optional> </optional>
</element> </element>
</define> </define>
...@@ -153,7 +153,7 @@ ...@@ -153,7 +153,7 @@
<define name='cpu'> <define name='cpu'>
<element name='cpu'> <element name='cpu'>
<attribute name='id'> <attribute name='id'>
<ref name='uint'/> <ref name='uint'/>
</attribute> </attribute>
</element> </element>
</define> </define>
...@@ -163,7 +163,7 @@ ...@@ -163,7 +163,7 @@
<ref name='ostype'/> <ref name='ostype'/>
<ref name='arch'/> <ref name='arch'/>
<optional> <optional>
<ref name='features'/> <ref name='features'/>
</optional> </optional>
</element> </element>
</define> </define>
...@@ -171,11 +171,11 @@ ...@@ -171,11 +171,11 @@
<define name='ostype'> <define name='ostype'>
<element name='os_type'> <element name='os_type'>
<choice> <choice>
<value>xen</value> <!-- Xen 3.0 pv --> <value>xen</value> <!-- Xen 3.0 pv -->
<value>linux</value> <!-- same as 'xen' - legacy --> <value>linux</value> <!-- same as 'xen' - legacy -->
<value>hvm</value> <!-- unmodified OS --> <value>hvm</value> <!-- unmodified OS -->
<value>exe</value> <!-- For container based virt --> <value>exe</value> <!-- For container based virt -->
<value>uml</value> <!-- user mode linux --> <value>uml</value> <!-- user mode linux -->
</choice> </choice>
</element> </element>
</define> </define>
...@@ -183,20 +183,20 @@ ...@@ -183,20 +183,20 @@
<define name='arch'> <define name='arch'>
<element name='arch'> <element name='arch'>
<attribute name='name'> <attribute name='name'>
<ref name='archnames'/> <ref name='archnames'/>
</attribute> </attribute>
<ref name='wordsize'/> <ref name='wordsize'/>
<optional> <optional>
<ref name='emulator'/> <ref name='emulator'/>
</optional> </optional>
<optional> <optional>
<ref name='loader'/> <ref name='loader'/>
</optional> </optional>
<zeroOrMore> <zeroOrMore>
<ref name='machine'/> <ref name='machine'/>
</zeroOrMore> </zeroOrMore>
<oneOrMore> <oneOrMore>
<ref name='domain'/> <ref name='domain'/>
</oneOrMore> </oneOrMore>
</element> </element>
</define> </define>
...@@ -216,9 +216,9 @@ ...@@ -216,9 +216,9 @@
<define name='wordsize'> <define name='wordsize'>
<element name='wordsize'> <element name='wordsize'>
<choice> <choice>
<value>31</value> <value>31</value>
<value>32</value> <value>32</value>
<value>64</value> <value>64</value>
</choice> </choice>
</element> </element>
</define> </define>
...@@ -237,23 +237,23 @@ ...@@ -237,23 +237,23 @@
<define name='domain'> <define name='domain'>
<element name='domain'> <element name='domain'>
<attribute name='type'> <attribute name='type'>
<choice> <choice>
<value>qemu</value> <value>qemu</value>
<value>kqemu</value> <value>kqemu</value>
<value>kvm</value> <value>kvm</value>
<value>xen</value> <value>xen</value>
<value>uml</value> <value>uml</value>
<value>lxc</value> <value>lxc</value>
<value>openvz</value> <value>openvz</value>
<value>test</value> <value>test</value>
</choice> </choice>
</attribute> </attribute>
<optional> <optional>
<ref name='emulator'/> <ref name='emulator'/>
</optional> </optional>
<zeroOrMore> <zeroOrMore>
<ref name='machine'/> <ref name='machine'/>
</zeroOrMore> </zeroOrMore>
</element> </element>
</define> </define>
...@@ -261,31 +261,31 @@ ...@@ -261,31 +261,31 @@
<define name='features'> <define name='features'>
<element name='features'> <element name='features'>
<optional> <optional>
<element name='pae'> <element name='pae'>
<empty/> <empty/>
</element> </element>
</optional> </optional>
<optional> <optional>
<element name='nonpae'> <element name='nonpae'>
<empty/> <empty/>
</element> </element>
</optional> </optional>
<optional> <optional>
<element name='ia64_be'> <element name='ia64_be'>
<empty/> <empty/>
</element> </element>
</optional> </optional>
<optional> <optional>
<element name='acpi'> <element name='acpi'>
<ref name='featuretoggle'/> <ref name='featuretoggle'/>
<empty/> <empty/>
</element> </element>
</optional> </optional>
<optional> <optional>
<element name='apic'> <element name='apic'>
<ref name='featuretoggle'/> <ref name='featuretoggle'/>
<empty/> <empty/>
</element> </element>
</optional> </optional>
<optional> <optional>
<element name='cpuselection'> <element name='cpuselection'>
...@@ -298,14 +298,14 @@ ...@@ -298,14 +298,14 @@
<define name='featuretoggle'> <define name='featuretoggle'>
<attribute name='toggle'> <attribute name='toggle'>
<choice> <choice>
<value>yes</value> <value>yes</value>
<value>no</value> <value>no</value>
</choice> </choice>
</attribute> </attribute>
<attribute name='default'> <attribute name='default'>
<choice> <choice>
<value>on</value> <value>on</value>
<value>off</value> <value>off</value>
</choice> </choice>
</attribute> </attribute>
</define> </define>
......
...@@ -86,9 +86,9 @@ ...@@ -86,9 +86,9 @@
<attribute name="netmask"><text/></attribute> <attribute name="netmask"><text/></attribute>
</optional> </optional>
<optional> <optional>
<element name="tftp"> <element name="tftp">
<attribute name="root"><text/></attribute> <attribute name="root"><text/></attribute>
</element> </element>
</optional> </optional>
<!-- Define the range(s) of IP addresses that the DHCP <!-- Define the range(s) of IP addresses that the DHCP
server should hand out --> server should hand out -->
...@@ -106,14 +106,14 @@ ...@@ -106,14 +106,14 @@
<attribute name="ip"><text/></attribute> <attribute name="ip"><text/></attribute>
</element> </element>
</zeroOrMore> </zeroOrMore>
<optional> <optional>
<element name="bootp"> <element name="bootp">
<attribute name="file"><text/></attribute> <attribute name="file"><text/></attribute>
<optional> <optional>
<attribute name="server"><text/></attribute> <attribute name="server"><text/></attribute>
</optional> </optional>
</element> </element>
</optional> </optional>
</element> </element>
</element> </element>
</optional> </optional>
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
</optional> </optional>
<zeroOrMore> <zeroOrMore>
<ref name="capability"/> <ref name="capability"/>
</zeroOrMore> </zeroOrMore>
</element> </element>
</define> </define>
...@@ -23,14 +23,14 @@ ...@@ -23,14 +23,14 @@
<define name='capability'> <define name='capability'>
<element name="capability"> <element name="capability">
<choice> <choice>
<ref name="capsystem"/> <ref name="capsystem"/>
<ref name="cappcidev"/> <ref name="cappcidev"/>
<ref name="capusbdev"/> <ref name="capusbdev"/>
<ref name="capusbinterface"/> <ref name="capusbinterface"/>
<ref name="capnet"/> <ref name="capnet"/>
<ref name="capscsihost"/> <ref name="capscsihost"/>
<ref name="capscsi"/> <ref name="capscsi"/>
<ref name="capstorage"/> <ref name="capstorage"/>
</choice> </choice>
</element> </element>
</define> </define>
...@@ -46,30 +46,30 @@ ...@@ -46,30 +46,30 @@
<element name='hardware'> <element name='hardware'>
<optional> <optional>
<element name='vendor'><text/></element> <element name='vendor'><text/></element>
</optional> </optional>
<optional> <optional>
<element name='version'><text/></element> <element name='version'><text/></element>
</optional> </optional>
<optional> <optional>
<element name='serial'><text/></element> <element name='serial'><text/></element>
</optional> </optional>
<element name='uuid'> <element name='uuid'>
<ref name='uuid'/> <ref name='uuid'/>
</element> </element>
</element> </element>
<element name='firmware'> <element name='firmware'>
<optional> <optional>
<element name='vendor'><text/></element> <element name='vendor'><text/></element>
</optional> </optional>
<optional> <optional>
<element name='version'><text/></element> <element name='version'><text/></element>
</optional> </optional>
<optional> <optional>
<element name='release_date'><text/></element> <element name='release_date'><text/></element>
</optional> </optional>
</element> </element>
</define> </define>
...@@ -94,23 +94,23 @@ ...@@ -94,23 +94,23 @@
<element name='product'> <element name='product'>
<attribute name='id'> <attribute name='id'>
<ref name='hexuint'/> <ref name='hexuint'/>
</attribute> </attribute>
<choice> <choice>
<text/> <text/>
<empty/> <empty/>
</choice> </choice>
</element> </element>
<element name='vendor'> <element name='vendor'>
<attribute name='id'> <attribute name='id'>
<ref name='hexuint'/> <ref name='hexuint'/>
</attribute> </attribute>
<choice> <choice>
<text/> <text/>
<empty/> <empty/>
</choice> </choice>
</element> </element>
...@@ -130,23 +130,23 @@ ...@@ -130,23 +130,23 @@
<element name='product'> <element name='product'>
<attribute name='id'> <attribute name='id'>
<ref name='hexuint'/> <ref name='hexuint'/>
</attribute> </attribute>
<choice> <choice>
<text/> <text/>
<empty/> <empty/>
</choice> </choice>
</element> </element>
<element name='vendor'> <element name='vendor'>
<attribute name='id'> <attribute name='id'>
<ref name='hexuint'/> <ref name='hexuint'/>
</attribute> </attribute>
<choice> <choice>
<text/> <text/>
<empty/> <empty/>
</choice> </choice>
</element> </element>
</define> </define>
...@@ -171,7 +171,7 @@ ...@@ -171,7 +171,7 @@
<optional> <optional>
<element name='description'> <element name='description'>
<text/> <text/>
</element> </element>
</optional> </optional>
</define> </define>
...@@ -186,7 +186,7 @@ ...@@ -186,7 +186,7 @@
</element> </element>
<optional> <optional>
<element name='address'> <element name='address'>
<ref name='mac'/> <ref name='mac'/>
</element> </element>
</optional> </optional>
...@@ -198,8 +198,8 @@ ...@@ -198,8 +198,8 @@
<define name='subcapnet'> <define name='subcapnet'>
<element name='capability'> <element name='capability'>
<choice> <choice>
<ref name='subcapnet80203'/> <ref name='subcapnet80203'/>
<ref name='subcapnet80211'/> <ref name='subcapnet80211'/>
</choice> </choice>
</element> </element>
</define> </define>
...@@ -261,27 +261,27 @@ ...@@ -261,27 +261,27 @@
<optional> <optional>
<element name='bus'> <element name='bus'>
<text/> <text/>
</element> </element>
</optional> </optional>
<optional> <optional>
<element name='drive_type'> <element name='drive_type'>
<text/> <text/>
</element> </element>
</optional> </optional>
<optional> <optional>
<element name='model'> <element name='model'>
<text/> <text/>
</element> </element>
</optional> </optional>
<optional> <optional>
<element name='vendor'> <element name='vendor'>
<text/> <text/>
</element> </element>
</optional> </optional>
<optional> <optional>
<element name='serial'> <element name='serial'>
<text/> <text/>
</element> </element>
</optional> </optional>
...@@ -292,9 +292,9 @@ ...@@ -292,9 +292,9 @@
<optional> <optional>
<element name='capability'> <element name='capability'>
<attribute name='type'> <attribute name='type'>
<value>hotpluggable</value> <value>hotpluggable</value>
</attribute> </attribute>
</element> </element>
</optional> </optional>
</define> </define>
...@@ -302,17 +302,17 @@ ...@@ -302,17 +302,17 @@
<define name='capstorageremoveable'> <define name='capstorageremoveable'>
<element name='capability'> <element name='capability'>
<attribute name='type'> <attribute name='type'>
<value>removable</value> <value>removable</value>
</attribute> </attribute>
<element name='media_available'> <element name='media_available'>
<choice> <choice>
<value>1</value> <value>1</value>
<value>0</value> <value>0</value>
</choice> </choice>
</element> </element>
<element name='media_size'> <element name='media_size'>
<ref name='uint'/> <ref name='uint'/>
</element> </element>
<optional> <optional>
<element name='media_label'> <element name='media_label'>
......
...@@ -9,14 +9,14 @@ ...@@ -9,14 +9,14 @@
<define name='pool'> <define name='pool'>
<element name='pool'> <element name='pool'>
<choice> <choice>
<ref name='pooldir'/> <ref name='pooldir'/>
<ref name='poolfs'/> <ref name='poolfs'/>
<ref name='poolnetfs'/> <ref name='poolnetfs'/>
<ref name='poollogical'/> <ref name='poollogical'/>
<ref name='pooldisk'/> <ref name='pooldisk'/>
<ref name='pooliscsi'/> <ref name='pooliscsi'/>
<ref name='poolscsi'/> <ref name='poolscsi'/>
<ref name='poolmpath'/> <ref name='poolmpath'/>
</choice> </choice>
</element> </element>
</define> </define>
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
</element> </element>
<optional> <optional>
<element name='uuid'> <element name='uuid'>
<ref name='uuid'/> <ref name='uuid'/>
</element> </element>
</optional> </optional>
</define> </define>
...@@ -117,17 +117,17 @@ ...@@ -117,17 +117,17 @@
<define name='sizing'> <define name='sizing'>
<optional> <optional>
<element name='capacity'> <element name='capacity'>
<ref name='uint'/> <ref name='uint'/>
</element> </element>
</optional> </optional>
<optional> <optional>
<element name='allocation'> <element name='allocation'>
<ref name='uint'/> <ref name='uint'/>
</element> </element>
</optional> </optional>
<optional> <optional>
<element name='available'> <element name='available'>
<ref name='uint'/> <ref name='uint'/>
</element> </element>
</optional> </optional>
</define> </define>
...@@ -135,20 +135,20 @@ ...@@ -135,20 +135,20 @@
<define name='permissions'> <define name='permissions'>
<optional> <optional>
<element name='permissions'> <element name='permissions'>
<element name='mode'> <element name='mode'>
<ref name='uint'/> <ref name='uint'/>
</element> </element>
<element name='owner'> <element name='owner'>
<ref name='uint'/> <ref name='uint'/>
</element> </element>
<element name='group'> <element name='group'>
<ref name='uint'/> <ref name='uint'/>
</element> </element>
<optional> <optional>
<element name='label'> <element name='label'>
<text/> <text/>
</element> </element>
</optional> </optional>
</element> </element>
</optional> </optional>
</define> </define>
...@@ -156,9 +156,9 @@ ...@@ -156,9 +156,9 @@
<define name='target'> <define name='target'>
<element name='target'> <element name='target'>
<optional> <optional>
<element name='path'> <element name='path'>
<ref name='path'/> <ref name='path'/>
</element> </element>
</optional> </optional>
<ref name='permissions'/> <ref name='permissions'/>
</element> </element>
...@@ -167,7 +167,7 @@ ...@@ -167,7 +167,7 @@
<define name='sourceinfohost'> <define name='sourceinfohost'>
<element name='host'> <element name='host'>
<attribute name='name'> <attribute name='name'>
<text/> <text/>
</attribute> </attribute>
<empty/> <empty/>
</element> </element>
...@@ -176,14 +176,14 @@ ...@@ -176,14 +176,14 @@
<define name='sourceinfodev'> <define name='sourceinfodev'>
<element name='device'> <element name='device'>
<attribute name='path'> <attribute name='path'>
<choice> <choice>
<ref name='path'/> <ref name='path'/>
<ref name='name'/> <ref name='name'/>
</choice> </choice>
</attribute> </attribute>
<choice> <choice>
<empty/> <empty/>
<ref name='devextents'/> <ref name='devextents'/>
</choice> </choice>
</element> </element>
</define> </define>
...@@ -191,7 +191,7 @@ ...@@ -191,7 +191,7 @@
<define name='initiatorinfoiqn'> <define name='initiatorinfoiqn'>
<element name='iqn'> <element name='iqn'>
<attribute name='name'> <attribute name='name'>
<text/> <text/>
</attribute> </attribute>
<empty/> <empty/>
</element> </element>
...@@ -200,12 +200,12 @@ ...@@ -200,12 +200,12 @@
<define name='devextents'> <define name='devextents'>
<oneOrMore> <oneOrMore>
<element name='freeExtent'> <element name='freeExtent'>
<attribute name='start'> <attribute name='start'>
<ref name='uint'/> <ref name='uint'/>
</attribute> </attribute>
<attribute name='end'> <attribute name='end'>
<ref name='uint'/> <ref name='uint'/>
</attribute> </attribute>
</element> </element>
</oneOrMore> </oneOrMore>
</define> </define>
...@@ -213,7 +213,7 @@ ...@@ -213,7 +213,7 @@
<define name='sourceinfodir'> <define name='sourceinfodir'>
<element name='dir'> <element name='dir'>
<attribute name='path'> <attribute name='path'>
<ref name='path'/> <ref name='path'/>
</attribute> </attribute>
<empty/> <empty/>
</element> </element>
...@@ -222,7 +222,7 @@ ...@@ -222,7 +222,7 @@
<define name='sourceinfoadapter'> <define name='sourceinfoadapter'>
<element name='adapter'> <element name='adapter'>
<attribute name='name'> <attribute name='name'>
<text/> <text/>
</attribute> </attribute>
<empty/> <empty/>
</element> </element>
...@@ -253,23 +253,23 @@ ...@@ -253,23 +253,23 @@
<define name='sourcefmtfs'> <define name='sourcefmtfs'>
<optional> <optional>
<element name='format'> <element name='format'>
<attribute name='type'> <attribute name='type'>
<choice> <choice>
<value>auto</value> <value>auto</value>
<value>ext2</value> <value>ext2</value>
<value>ext3</value> <value>ext3</value>
<value>ext4</value> <value>ext4</value>
<value>ufs</value> <value>ufs</value>
<value>iso9660</value> <value>iso9660</value>
<value>udf</value> <value>udf</value>
<value>gfs</value> <value>gfs</value>
<value>gfs2</value> <value>gfs2</value>
<value>vfat</value> <value>vfat</value>
<value>hfs+</value> <value>hfs+</value>
<value>xfs</value> <value>xfs</value>
<value>ocfs2</value> <value>ocfs2</value>
</choice> </choice>
</attribute> </attribute>
</element> </element>
</optional> </optional>
</define> </define>
...@@ -278,12 +278,12 @@ ...@@ -278,12 +278,12 @@
<define name='sourcefmtnetfs'> <define name='sourcefmtnetfs'>
<optional> <optional>
<element name='format'> <element name='format'>
<attribute name='type'> <attribute name='type'>
<choice> <choice>
<value>auto</value> <value>auto</value>
<value>nfs</value> <value>nfs</value>
</choice> </choice>
</attribute> </attribute>
</element> </element>
</optional> </optional>
</define> </define>
...@@ -292,19 +292,19 @@ ...@@ -292,19 +292,19 @@
<define name='sourcefmtdisk'> <define name='sourcefmtdisk'>
<optional> <optional>
<element name='format'> <element name='format'>
<attribute name='type'> <attribute name='type'>
<choice> <choice>
<value>none</value> <value>none</value>
<value>dos</value> <value>dos</value>
<value>dvh</value> <value>dvh</value>
<value>gpt</value> <value>gpt</value>
<value>mac</value> <value>mac</value>
<value>bsd</value> <value>bsd</value>
<value>pc98</value> <value>pc98</value>
<value>sun</value> <value>sun</value>
<value>lvm2</value> <value>lvm2</value>
</choice> </choice>
</attribute> </attribute>
</element> </element>
</optional> </optional>
</define> </define>
...@@ -313,12 +313,12 @@ ...@@ -313,12 +313,12 @@
<define name='sourcefmtlogical'> <define name='sourcefmtlogical'>
<optional> <optional>
<element name='format'> <element name='format'>
<attribute name='type'> <attribute name='type'>
<choice> <choice>
<value>auto</value> <value>auto</value>
<value>lvm2</value> <value>lvm2</value>
</choice> </choice>
</attribute> </attribute>
</element> </element>
</optional> </optional>
</define> </define>
...@@ -327,7 +327,7 @@ ...@@ -327,7 +327,7 @@
<define name='sourcedir'> <define name='sourcedir'>
<optional> <optional>
<element name='source'> <element name='source'>
<empty/> <empty/>
</element> </element>
</optional> </optional>
</define> </define>
......
...@@ -11,18 +11,18 @@ ...@@ -11,18 +11,18 @@
<define name='vol'> <define name='vol'>
<element name='volume'> <element name='volume'>
<element name='name'> <element name='name'>
<ref name='name'/> <ref name='name'/>
</element> </element>
<optional> <optional>
<element name='key'> <element name='key'>
<text/> <text/>
</element> </element>
</optional> </optional>
<ref name='source'/> <ref name='source'/>
<ref name='sizing'/> <ref name='sizing'/>
<ref name='target'/> <ref name='target'/>
<optional> <optional>
<ref name='backingStore'/> <ref name='backingStore'/>
</optional> </optional>
</element> </element>
</define> </define>
...@@ -31,16 +31,16 @@ ...@@ -31,16 +31,16 @@
<optional> <optional>
<element name='capacity'> <element name='capacity'>
<optional> <optional>
<attribute name='unit'> <attribute name='unit'>
<ref name='unit'/> <ref name='unit'/>
</attribute> </attribute>
</optional> </optional>
<ref name='uint'/> <ref name='uint'/>
</element> </element>
</optional> </optional>
<optional> <optional>
<element name='allocation'> <element name='allocation'>
<ref name='uint'/> <ref name='uint'/>
</element> </element>
</optional> </optional>
</define> </define>
...@@ -48,20 +48,20 @@ ...@@ -48,20 +48,20 @@
<define name='permissions'> <define name='permissions'>
<optional> <optional>
<element name='permissions'> <element name='permissions'>
<element name='mode'> <element name='mode'>
<ref name='uint'/> <ref name='uint'/>
</element> </element>
<element name='owner'> <element name='owner'>
<ref name='uint'/> <ref name='uint'/>
</element> </element>
<element name='group'> <element name='group'>
<ref name='uint'/> <ref name='uint'/>
</element> </element>
<optional> <optional>
<element name='label'> <element name='label'>
<text/> <text/>
</element> </element>
</optional> </optional>
</element> </element>
</optional> </optional>
</define> </define>
...@@ -69,9 +69,9 @@ ...@@ -69,9 +69,9 @@
<define name='target'> <define name='target'>
<element name='target'> <element name='target'>
<optional> <optional>
<element name='path'> <element name='path'>
<ref name='path'/> <ref name='path'/>
</element> </element>
</optional> </optional>
<ref name='format'/> <ref name='format'/>
<ref name='permissions'/> <ref name='permissions'/>
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
<define name='backingStore'> <define name='backingStore'>
<element name='backingStore'> <element name='backingStore'>
<element name='path'> <element name='path'>
<ref name='path'/> <ref name='path'/>
</element> </element>
<ref name='format'/> <ref name='format'/>
<ref name='permissions'/> <ref name='permissions'/>
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
<define name='source'> <define name='source'>
<element name='source'> <element name='source'>
<zeroOrMore> <zeroOrMore>
<ref name='sourcedev'/> <ref name='sourcedev'/>
</zeroOrMore> </zeroOrMore>
</element> </element>
</define> </define>
...@@ -103,11 +103,11 @@ ...@@ -103,11 +103,11 @@
<define name='sourcedev'> <define name='sourcedev'>
<element name='device'> <element name='device'>
<attribute name='path'> <attribute name='path'>
<ref name='path'/> <ref name='path'/>
</attribute> </attribute>
<choice> <choice>
<empty/> <empty/>
<ref name='devextents'/> <ref name='devextents'/>
</choice> </choice>
</element> </element>
</define> </define>
...@@ -115,12 +115,12 @@ ...@@ -115,12 +115,12 @@
<define name='devextents'> <define name='devextents'>
<oneOrMore> <oneOrMore>
<element name='extent'> <element name='extent'>
<attribute name='start'> <attribute name='start'>
<ref name='uint'/> <ref name='uint'/>
</attribute> </attribute>
<attribute name='end'> <attribute name='end'>
<ref name='uint'/> <ref name='uint'/>
</attribute> </attribute>
</element> </element>
</oneOrMore> </oneOrMore>
</define> </define>
...@@ -164,12 +164,12 @@ ...@@ -164,12 +164,12 @@
<define name='format'> <define name='format'>
<optional> <optional>
<element name='format'> <element name='format'>
<attribute name='type'> <attribute name='type'>
<choice> <choice>
<ref name='formatfile'/> <ref name='formatfile'/>
<ref name='formatdev'/> <ref name='formatdev'/>
</choice> </choice>
</attribute> </attribute>
</element> </element>
</optional> </optional>
</define> </define>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册