mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
schema: domain: Allow interleaving of elements in 'osxen' definition
The 'osxen' RNG type defines options for the <os> element in certain modes. Allow interleaving of subelements recursively. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
9132cc635b
commit
e4e189bb2f
@ -257,30 +257,40 @@
|
||||
<ref name="osexe"/>
|
||||
</choice>
|
||||
</define>
|
||||
|
||||
<define name="osxen">
|
||||
<choice>
|
||||
<group>
|
||||
<optional>
|
||||
<ref name="bootloader"/>
|
||||
</optional>
|
||||
<element name="os">
|
||||
<ref name="ostypexen"/>
|
||||
<ref name="osbootkernel"/>
|
||||
</element>
|
||||
<interleave>
|
||||
<optional>
|
||||
<ref name="bootloader"/>
|
||||
</optional>
|
||||
<element name="os">
|
||||
<interleave>
|
||||
<ref name="ostypexen"/>
|
||||
<ref name="osbootkernel"/>
|
||||
</interleave>
|
||||
</element>
|
||||
</interleave>
|
||||
</group>
|
||||
<group>
|
||||
<ref name="bootloader"/>
|
||||
<optional>
|
||||
<element name="os">
|
||||
<ref name="ostypexen"/>
|
||||
<optional>
|
||||
<ref name="osbootkernel"/>
|
||||
</optional>
|
||||
</element>
|
||||
</optional>
|
||||
<interleave>
|
||||
<ref name="bootloader"/>
|
||||
<optional>
|
||||
<element name="os">
|
||||
<interleave>
|
||||
<ref name="ostypexen"/>
|
||||
<optional>
|
||||
<ref name="osbootkernel"/>
|
||||
</optional>
|
||||
</interleave>
|
||||
</element>
|
||||
</optional>
|
||||
</interleave>
|
||||
</group>
|
||||
</choice>
|
||||
</define>
|
||||
|
||||
<define name="oshvm">
|
||||
<interleave>
|
||||
<optional>
|
||||
|
Loading…
x
Reference in New Issue
Block a user