mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
schemas: Allow zero <cpu/> for capabilities
It may happen that a NUMA node has no CPUs associated with it. We allow this for domains since v6.6.0-rc1~250. Let's update our capabilities schema to match that. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
5899bfd795
commit
137e765891
@ -168,9 +168,9 @@
|
|||||||
<attribute name="num">
|
<attribute name="num">
|
||||||
<ref name="unsignedInt"/>
|
<ref name="unsignedInt"/>
|
||||||
</attribute>
|
</attribute>
|
||||||
<oneOrMore>
|
<zeroOrMore>
|
||||||
<ref name="cpu"/>
|
<ref name="cpu"/>
|
||||||
</oneOrMore>
|
</zeroOrMore>
|
||||||
</element>
|
</element>
|
||||||
</optional>
|
</optional>
|
||||||
</element>
|
</element>
|
||||||
|
Loading…
Reference in New Issue
Block a user