[libvirt] [PATCH 2/4] domain: parse and format os.bootStrict from/to XML

Daniel P. Berrange berrange at redhat.com
Fri Feb 7 14:00:12 UTC 2014


On Wed, Jan 22, 2014 at 01:33:20AM +0100, Laszlo Ersek wrote:
> Signed-off-by: Laszlo Ersek <lersek at redhat.com>
> ---
>  src/conf/domain_conf.c        | 21 +++++++++++++++++++++
>  docs/formatdomain.html.in     |  9 +++++++++
>  docs/schemas/domaincommon.rng | 10 ++++++++++
>  3 files changed, 40 insertions(+)


> diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
> index ff50214..bf21c46 100644
> --- a/docs/formatdomain.html.in
> +++ b/docs/formatdomain.html.in
> @@ -106,6 +106,7 @@
>      <boot dev='hd'/>
>      <boot dev='cdrom'/>
>      <bootmenu enable='yes'/>
> +    <boot-strict enable='yes'/>
>      <smbios mode='sysinfo'/>
>      <bios useserial='yes' rebootTimeout='0'/>
>    </os>

Reviving the thread. Based on the discussions, I think I now agree that
your suggestion to allow toggle of strict mode is probably our least
worst way forward.

I'd suggest that instead of introducing a new element here, we add
an attribute to the <bios> element. eg perhaps this:

  <bios bootPolicy="strict|fallback">


BTW, as a general goal we want all the parsing/xml related changes
in one patch. So your patches 1 + 2 could be squashed together.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list