mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00: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">
|
||||
<ref name="unsignedInt"/>
|
||||
</attribute>
|
||||
<oneOrMore>
|
||||
<zeroOrMore>
|
||||
<ref name="cpu"/>
|
||||
</oneOrMore>
|
||||
</zeroOrMore>
|
||||
</element>
|
||||
</optional>
|
||||
</element>
|
||||
|
Loading…
x
Reference in New Issue
Block a user