mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +03:00
schema: wrap fsDriver in a choice group
Allow adding new groups without changing indentation. Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com> Acked-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Tested-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
ecf3439f60
commit
3913abd476
@ -2620,29 +2620,33 @@
|
|||||||
for this kind of info, and 'type' for the
|
for this kind of info, and 'type' for the
|
||||||
storage format. We need the latter too, so
|
storage format. We need the latter too, so
|
||||||
had to invent a new attribute name -->
|
had to invent a new attribute name -->
|
||||||
<optional>
|
<choice>
|
||||||
<attribute name="type">
|
<group>
|
||||||
<choice>
|
<optional>
|
||||||
<value>path</value>
|
<attribute name="type">
|
||||||
<value>handle</value>
|
<choice>
|
||||||
<value>loop</value>
|
<value>path</value>
|
||||||
<value>nbd</value>
|
<value>handle</value>
|
||||||
<value>ploop</value>
|
<value>loop</value>
|
||||||
</choice>
|
<value>nbd</value>
|
||||||
</attribute>
|
<value>ploop</value>
|
||||||
</optional>
|
</choice>
|
||||||
<optional>
|
</attribute>
|
||||||
<attribute name="format">
|
</optional>
|
||||||
<ref name="storageFormat"/>
|
<optional>
|
||||||
</attribute>
|
<attribute name="format">
|
||||||
</optional>
|
<ref name="storageFormat"/>
|
||||||
<optional>
|
</attribute>
|
||||||
<attribute name="wrpolicy">
|
</optional>
|
||||||
<value>immediate</value>
|
<optional>
|
||||||
</attribute>
|
<attribute name="wrpolicy">
|
||||||
</optional>
|
<value>immediate</value>
|
||||||
<ref name='virtioOptions'/>
|
</attribute>
|
||||||
<empty/>
|
</optional>
|
||||||
|
<ref name='virtioOptions'/>
|
||||||
|
</group>
|
||||||
|
<empty/>
|
||||||
|
</choice>
|
||||||
</element>
|
</element>
|
||||||
</define>
|
</define>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user