]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Allow one-or-more <boot dev="..."/> entries
authorPhilipp Hahn <hahn@univention.de>
Tue, 15 Jun 2010 09:44:48 +0000 (11:44 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 21 Jun 2010 08:11:33 +0000 (10:11 +0200)
According to docs/formatdomain.html.in, "The boot element can be
repeated multiple times to setup a priority list of boot devices to try
in turn." The Relax-NG schema required / allowed exactly one entry.

Signed-off-by: Philipp Hahn <hahn@univention.de>
docs/schemas/domain.rng

index 9121da36611759f448e25c674ec8ad5344289afc..99a37f29123fd020e04c4e37c63c39c8e5d82438 100644 (file)
         </optional>
         <choice>
           <ref name="osbootkernel"/>
-          <ref name="osbootdev"/>
+          <oneOrMore>
+            <ref name="osbootdev"/>
+          </oneOrMore>
         </choice>
       </interleave>
     </element>