]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
domaincommon.rng: Add 'bootloader' to os=hvm schema for Bhyve
authorConrad Meyer <cse.cem@gmail.com>
Sat, 8 Nov 2014 16:48:32 +0000 (11:48 -0500)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 12 Nov 2014 08:55:22 +0000 (09:55 +0100)
Additionally, make the <bootloader> tag optional (for bhyveload with
custom arguments) (also, matches the actual parser).

docs/schemas/domaincommon.rng

index 737dae355381dccdeef75e136f69928aa3296075..6863ec656ae3646ac6ecae5e7e5860e14dfaf22c 100644 (file)
     </choice>
   </define>
   <define name="oshvm">
+    <optional>
+      <ref name="bootloader"/>
+    </optional>
     <element name="os">
       <ref name="ostypehvm"/>
       <interleave>
     -->
   <define name="bootloader">
     <interleave>
-      <element name="bootloader">
-        <choice>
-          <ref name="absFilePath"/>
-          <empty/>
-        </choice>
-      </element>
+      <optional>
+        <element name="bootloader">
+          <choice>
+            <ref name="absFilePath"/>
+            <empty/>
+          </choice>
+        </element>
+      </optional>
       <optional>
         <element name="bootloader_args">
           <text/>