]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
schema: domain: Add the 'type' subelement of the osexe case of 'os' element to interleave
authorPeter Krempa <pkrempa@redhat.com>
Thu, 13 Oct 2022 15:35:30 +0000 (17:35 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 1 Nov 2022 12:07:20 +0000 (13:07 +0100)
The 'type' element was outside of the 'interleave' definition.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/schemas/domaincommon.rng

index b6371940e499722cb19820ea1889fd9b6baad86b..2801f8fcb8c54a50648604beb49e05e6bbfa2fbf 100644 (file)
 
   <define name="osexe">
     <element name="os">
-      <element name="type">
-        <optional>
-          <attribute name="arch">
-            <ref name="archnames"/>
-          </attribute>
-        </optional>
-        <value>exe</value>
-      </element>
       <interleave>
+        <element name="type">
+          <optional>
+            <attribute name="arch">
+              <ref name="archnames"/>
+            </attribute>
+          </optional>
+          <value>exe</value>
+        </element>
         <optional>
           <element name="init">
             <ref name="absFilePath"/>