[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] Allow one-or-more <boot dev="..."/> entries



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 |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/docs/schemas/domain.rng b/docs/schemas/domain.rng
index 9121da3..99a37f2 100644
--- a/docs/schemas/domain.rng
+++ b/docs/schemas/domain.rng
@@ -115,7 +115,9 @@
         </optional>
         <choice>
           <ref name="osbootkernel"/>
-          <ref name="osbootdev"/>
+          <oneOrMore>
+            <ref name="osbootdev"/>
+          </oneOrMore>
         </choice>
       </interleave>
     </element>

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]