1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-26 03:21:44 +03:00

rng: Add definition for network disk source

It's long enough to have a independant definition.
This commit is contained in:
Osier Yang 2013-04-03 20:14:05 +08:00
parent ad42b34b1b
commit ad5298e177

View File

@ -1084,6 +1084,17 @@
<interleave>
<optional>
<element name="source">
<ref name='diskSourceNetwork'/>
</element>
</optional>
<ref name="diskspec"/>
</interleave>
</group>
<ref name="diskspec"/>
</choice>
</element>
</define>
<define name="diskSourceNetwork">
<attribute name="protocol">
<choice>
<value>nbd</value>
@ -1132,14 +1143,6 @@
</element>
</zeroOrMore>
<empty/>
</element>
</optional>
<ref name="diskspec"/>
</interleave>
</group>
<ref name="diskspec"/>
</choice>
</element>
</define>
<define name="diskTarget">
<data type="string">