[libvirt] [PATCH] qemu: Allow setting boot menu on/off

Daniel P. Berrange berrange at redhat.com
Tue Jul 27 10:13:15 UTC 2010


On Mon, Jul 26, 2010 at 04:31:23PM -0400, Cole Robinson wrote:
> Add a new element to the <os> block:
> 
>   <bootmenu enable="yes|no"/>
> 
> Which maps to -boot,menu=on|off on the QEMU command line.
> 
> I decided to use an explicit 'enable' attribute rather than just make the
> bootmenu element boolean. This allows us to treat lack of a bootmenu element
> as 'use hypervisor default'.
> 
> Signed-off-by: Cole Robinson <crobinso at redhat.com>

I'm wondering what we should do if we need a further option
to turn on/off the PXE boot menus that SEABIOS now adds to
QEMU for each NIC. I guess that might be a separate 
<bootmenu> element within the <interface> device so probably
wouldn't impact this modelling

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