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:
Michal Privoznik 2021-05-26 16:23:29 +02:00
parent 5899bfd795
commit 137e765891

View File

@ -168,9 +168,9 @@
<attribute name="num">
<ref name="unsignedInt"/>
</attribute>
<oneOrMore>
<zeroOrMore>
<ref name="cpu"/>
</oneOrMore>
</zeroOrMore>
</element>
</optional>
</element>