]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Allow setting boot menu on/off
authorCole Robinson <crobinso@redhat.com>
Mon, 26 Jul 2010 14:28:58 +0000 (10:28 -0400)
committerCole Robinson <crobinso@redhat.com>
Tue, 27 Jul 2010 20:38:32 +0000 (16:38 -0400)
commit4f24ca01e881ec8df69861a3386b697ff528d3e3
tree3f52d0944582d941bcf9dc2b195d02822402f422
parentf8b76f419ad4ce26556d34a03a7ceaa3a77c25a7
qemu: Allow setting boot menu on/off

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'.
13 files changed:
docs/formatdomain.html.in
docs/schemas/domain.rng
src/conf/domain_conf.c
src/conf/domain_conf.h
src/qemu/qemu_conf.c
src/qemu/qemu_conf.h
tests/qemuhelptest.c
tests/qemuxml2argvdata/qemuxml2argv-boot-menu-disable.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-boot-menu-disable.xml [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-boot-multi.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-boot-multi.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c
tests/qemuxml2xmltest.c