]> 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)
committerOsier Yang <jyang@redhat.com>
Fri, 15 Jun 2012 13:56:48 +0000 (21:56 +0800)
'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.

docs/schemas/domaincommon.rng

index 62c28c8d8441589c15e47a585640a6c37f149668..46e539da0ec82560f9fdbdd73e60740b6191e2b8 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">