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

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

 



On Wed, Jan 22, 2014 at 01:33:20AM +0100, Laszlo Ersek wrote:
> Signed-off-by: Laszlo Ersek <lersek@xxxxxxxxxx>
> ---
>  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 @@
>      &lt;boot dev='hd'/&gt;
>      &lt;boot dev='cdrom'/&gt;
>      &lt;bootmenu enable='yes'/&gt;
> +    &lt;boot-strict enable='yes'/&gt;
>      &lt;smbios mode='sysinfo'/&gt;
>      &lt;bios useserial='yes' rebootTimeout='0'/&gt;
>    &lt;/os&gt;

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 :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]