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

Daniel P. Berrange berrange at redhat.com
Wed Jun 16 12:02:56 UTC 2010


On Tue, Jun 15, 2010 at 11:44:48AM +0200, Philipp Hahn wrote:
> 
> 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 at 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>

ACK

Daniel
-- 
|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list