[PATCH 15/15] schema: cpu: include 'arch' subelement in interleave definition of 'hostcpu'

Peter Krempa pkrempa at redhat.com
Mon Oct 17 12:37:58 UTC 2022


Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 src/conf/schemas/cputypes.rng | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/conf/schemas/cputypes.rng b/src/conf/schemas/cputypes.rng
index 986a5f3715..3e79bdd563 100644
--- a/src/conf/schemas/cputypes.rng
+++ b/src/conf/schemas/cputypes.rng
@@ -323,10 +323,10 @@

   <define name="hostcpu">
     <element name="cpu">
-      <element name="arch">
-        <ref name="archnames"/>
-      </element>
       <interleave>
+        <element name="arch">
+          <ref name="archnames"/>
+        </element>
         <optional>
           <element name="features">
             <optional>
-- 
2.37.3



More information about the libvir-list mailing list