schema: Update domain XML schema

'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)
This commit is contained in:
Osier Yang 2012-06-15 10:34:04 +08:00 committed by Cole Robinson
parent d2c5e42fdd
commit 5814e39b32

View File

@ -222,12 +222,14 @@
<ref name="absFilePath"/> <ref name="absFilePath"/>
</element> </element>
</optional> </optional>
<choice> <optional>
<ref name="osbootkernel"/> <ref name="osbootkernel"/>
</optional>
<optional>
<zeroOrMore> <zeroOrMore>
<ref name="osbootdev"/> <ref name="osbootdev"/>
</zeroOrMore> </zeroOrMore>
</choice> </optional>
<optional> <optional>
<element name="bootmenu"> <element name="bootmenu">
<attribute name="enable"> <attribute name="enable">