mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-18 10:35:20 +00:00
snapshot: schema: Split out snapshot disk driver definition
Extract the definition to a new type to allow avoiding of duplication.
This commit is contained in:
parent
c6803a7312
commit
32487c86c6
@ -124,16 +124,7 @@
|
|||||||
</attribute>
|
</attribute>
|
||||||
</optional>
|
</optional>
|
||||||
<interleave>
|
<interleave>
|
||||||
<optional>
|
<ref name='disksnapshotdriver'/>
|
||||||
<element name='driver'>
|
|
||||||
<optional>
|
|
||||||
<attribute name='type'>
|
|
||||||
<ref name='storageFormat'/>
|
|
||||||
</attribute>
|
|
||||||
</optional>
|
|
||||||
<empty/>
|
|
||||||
</element>
|
|
||||||
</optional>
|
|
||||||
<optional>
|
<optional>
|
||||||
<element name='source'>
|
<element name='source'>
|
||||||
<optional>
|
<optional>
|
||||||
@ -150,4 +141,17 @@
|
|||||||
</element>
|
</element>
|
||||||
</define>
|
</define>
|
||||||
|
|
||||||
|
<define name='disksnapshotdriver'>
|
||||||
|
<optional>
|
||||||
|
<element name='driver'>
|
||||||
|
<optional>
|
||||||
|
<attribute name='type'>
|
||||||
|
<ref name='storageFormat'/>
|
||||||
|
</attribute>
|
||||||
|
</optional>
|
||||||
|
<empty/>
|
||||||
|
</element>
|
||||||
|
</optional>
|
||||||
|
</define>
|
||||||
|
|
||||||
</grammar>
|
</grammar>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user