diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2009-10-04 10:05:16 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2009-10-04 10:05:16 -0400 |
commit | e7cc7642e0fa437dad181cf8a3a8c8e7039dd17d (patch) | |
tree | 1884aab3f876595b034aa4a4d2de91966c2fec56 /src/boot.c | |
parent | 114592f000d5bc89b7d149e320a31ab209e20b41 (diff) | |
download | seabios-e7cc7642e0fa437dad181cf8a3a8c8e7039dd17d.tar.gz |
Move qemu config code from smbios.c to its own files. Add support for
-boot menu=on|off qemu option.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'src/boot.c')
-rw-r--r-- | src/boot.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -12,6 +12,7 @@ #include "bregs.h" // struct bregs #include "boot.h" // struct ipl_s #include "cmos.h" // inb_cmos +#include "paravirt.h" struct ipl_s IPL; @@ -206,7 +207,7 @@ menu_show_cbfs(struct ipl_entry_s *ie, int menupos) static void interactive_bootmenu() { - if (! CONFIG_BOOTMENU) + if (! CONFIG_BOOTMENU || ! qemu_cfg_show_boot_menu()) return; while (get_keystroke(0) >= 0) |