Add a new 'cpuVlen' RNG define for the <vlen value='N'/> CPU
sub-element and reference it as optional inside the 'guestcpu'
grammar.

Signed-off-by: Heinrich Schuchardt <[email protected]>
---
 src/conf/schemas/cputypes.rng | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/src/conf/schemas/cputypes.rng b/src/conf/schemas/cputypes.rng
index 8edf1d14e3..5af76ee410 100644
--- a/src/conf/schemas/cputypes.rng
+++ b/src/conf/schemas/cputypes.rng
@@ -331,6 +331,14 @@
     </element>
   </define>
 
+  <define name="cpuVlen">
+    <element name="vlen">
+      <attribute name="value">
+        <ref name="positiveInteger"/>
+      </attribute>
+    </element>
+  </define>
+
   <define name="hostcpu">
     <element name="cpu">
       <interleave>
@@ -471,6 +479,9 @@
         <optional>
           <ref name="cpuMaxPhysAddr"/>
         </optional>
+        <optional>
+          <ref name="cpuVlen"/>
+        </optional>
       </interleave>
     </element>
   </define>
-- 
2.53.0

Reply via email to