[PATCH 4/5] schemas: domaincaps: Add schema for CPU 'blockers'

Peter Krempa posted 5 patches 4 weeks ago
[PATCH 4/5] schemas: domaincaps: Add schema for CPU 'blockers'
Posted by Peter Krempa 4 weeks ago
Due to broken 'virschematest' commit f4dc248a952aaebcc793c7809c6c083d9
forgot to introduce schema for the new element.

Fixes: f4dc248a952aaebcc793c7809c6c083d9cc30d0c
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
---
 src/conf/schemas/domaincaps.rng | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/src/conf/schemas/domaincaps.rng b/src/conf/schemas/domaincaps.rng
index 40bae6e578..3559d2ae05 100644
--- a/src/conf/schemas/domaincaps.rng
+++ b/src/conf/schemas/domaincaps.rng
@@ -174,6 +174,20 @@
           </attribute>
           <text/>
         </element>
+        <optional>
+          <element name="blockers">
+            <attribute name="model">
+              <text/>
+            </attribute>
+            <oneOrMore>
+              <element name="feature">
+                <attribute name="name">
+                  <text/>
+                </attribute>
+              </element>
+            </oneOrMore>
+          </element>
+        </optional>
       </zeroOrMore>
     </element>
   </define>
-- 
2.47.0