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(a)redhat.com>
Reviewed-by: Martin Kletzander <mkletzan(a)redhat.com>
---
docs/schemas/capability.rng | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/schemas/capability.rng b/docs/schemas/capability.rng
index fb8203ad6d..fcc262ae1a 100644
--- a/docs/schemas/capability.rng
+++ b/docs/schemas/capability.rng
@@ -168,9 +168,9 @@
<attribute name="num">
<ref name="unsignedInt"/>
</attribute>
- <oneOrMore>
+ <zeroOrMore>
<ref name="cpu"/>
- </oneOrMore>
+ </zeroOrMore>
</element>
</optional>
</element>
--
2.31.1