Additionally, make the <bootloader> tag optional (for bhyveload with
custom arguments) (also, matches the actual parser).
---
docs/schemas/domaincommon.rng | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index 20d81ae..87ba888 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -234,6 +234,9 @@
</choice>
</define>
<define name="oshvm">
+ <optional>
+ <ref name="bootloader"/>
+ </optional>
<element name="os">
<ref name="ostypehvm"/>
<interleave>
@@ -1054,12 +1057,14 @@
-->
<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/>
--
1.9.3