]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
schema: Update domain XML schema
authorOsier Yang <jyang@redhat.com>
Fri, 15 Jun 2012 02:34:04 +0000 (10:34 +0800)
committerCole Robinson <crobinso@redhat.com>
Sun, 12 Aug 2012 22:34:46 +0000 (18:34 -0400)
'boot' tag shouldn't be exclusive with 'kernel', 'initrd', and 'cmdline',
though the boot sequence doesn't make sense when the guest boots from
kernel directly. But it's useful if booting from kernel is to install
a newguest, even if it's not to install a guest, there is no hurt. And
on the other hand, we allow 'boot' and the kernel tags when parsing.
(cherry picked from commit b34324fbf09c82fbd4ad2c0dcc140172ee045c8a)

docs/schemas/domaincommon.rng

index 0cc04af5da894508a06d75a0787608a844d9e108..0784bcacfc7d8a1fb01b0308fdbcffa5b3db83c3 100644 (file)
             <ref name="absFilePath"/>
           </element>
         </optional>
-        <choice>
+        <optional>
           <ref name="osbootkernel"/>
+        </optional>
+        <optional>
           <zeroOrMore>
             <ref name="osbootdev"/>
           </zeroOrMore>
-        </choice>
+        </optional>
         <optional>
           <element name="bootmenu">
             <attribute name="enable">