mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
RNG: Allow interleaving of /domain/cpu/numa/cell children
So far, the <cell/> element can have two types of children elements: <distances/> and <cache/> (which can be repeated more times). However, there is no reason to require specific order in input XML. Allow elements to be interleaved. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
b2672b33dc
commit
fd2ad818b2
@ -146,16 +146,18 @@
|
||||
<ref name="virYesNo"/>
|
||||
</attribute>
|
||||
</optional>
|
||||
<optional>
|
||||
<element name="distances">
|
||||
<oneOrMore>
|
||||
<ref name="numaDistance"/>
|
||||
</oneOrMore>
|
||||
</element>
|
||||
</optional>
|
||||
<zeroOrMore>
|
||||
<ref name="numaCache"/>
|
||||
</zeroOrMore>
|
||||
<interleave>
|
||||
<optional>
|
||||
<element name="distances">
|
||||
<oneOrMore>
|
||||
<ref name="numaDistance"/>
|
||||
</oneOrMore>
|
||||
</element>
|
||||
</optional>
|
||||
<zeroOrMore>
|
||||
<ref name="numaCache"/>
|
||||
</zeroOrMore>
|
||||
</interleave>
|
||||
</element>
|
||||
</define>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user