mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +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>
|
||||
</optional>
|
||||
<interleave>
|
||||
<optional>
|
||||
<element name='driver'>
|
||||
<optional>
|
||||
<attribute name='type'>
|
||||
<ref name='storageFormat'/>
|
||||
</attribute>
|
||||
</optional>
|
||||
<empty/>
|
||||
</element>
|
||||
</optional>
|
||||
<ref name='disksnapshotdriver'/>
|
||||
<optional>
|
||||
<element name='source'>
|
||||
<optional>
|
||||
@ -150,4 +141,17 @@
|
||||
</element>
|
||||
</define>
|
||||
|
||||
<define name='disksnapshotdriver'>
|
||||
<optional>
|
||||
<element name='driver'>
|
||||
<optional>
|
||||
<attribute name='type'>
|
||||
<ref name='storageFormat'/>
|
||||
</attribute>
|
||||
</optional>
|
||||
<empty/>
|
||||
</element>
|
||||
</optional>
|
||||
</define>
|
||||
|
||||
</grammar>
|
||||
|
Loading…
Reference in New Issue
Block a user