[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH] x86: Manage BIOS boot menu via command line
From: |
Jan Kiszka |
Subject: |
[Qemu-devel] Re: [PATCH] x86: Manage BIOS boot menu via command line |
Date: |
Thu, 18 Dec 2008 17:06:08 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
Gleb Natapov wrote:
> On Thu, Dec 18, 2008 at 02:04:21PM +0100, Jan Kiszka wrote:
>> diff --git a/pc-bios/bios-pq/0006_optional-boot-menu.patch
>> b/pc-bios/bios-pq/0006_optional-boot-menu.patch
>> new file mode 100644
>> index 0000000..bbe5753
>> --- /dev/null
>> +++ b/pc-bios/bios-pq/0006_optional-boot-menu.patch
>> @@ -0,0 +1,19 @@
>> +Make interactive boot menu optional.
>> +
>> +Signed-off-by: Jan Kiszka <address@hidden>
>> +
>> +diff --git a/bios/rombios.c b/bios/rombios.c
>> +index 123672f..7ce5b6c 100644
>> +--- a/bios/rombios.c
>> ++++ b/bios/rombios.c
>> +@@ -2026,6 +2026,10 @@ interactive_bootkey()
>> + Bit16u ss = get_SS();
>> + Bit16u valid_choice = 0;
>> +
>> ++ /* QEMU sets CMOS byte 0x60 to non-zero if the boot menu should be
>> skipped */
>> ++ if (inb_cmos(0x60))
>> ++ return;
>> ++
>> + while (check_for_keystroke())
>> + get_keystroke();
>> +
> Why not push this upstream?
I wanted to wait at least for some comments here first, then push this
to bochs.
Jan
--
Siemens AG, Corporate Technology, CT SE 26
Corporate Competence Center Embedded Linux
- [Qemu-devel] [PATCH] x86: Manage BIOS boot menu via command line, Jan Kiszka, 2008/12/18
- Re: [Qemu-devel] [PATCH] x86: Manage BIOS boot menu via command line, Gleb Natapov, 2008/12/18
- [Qemu-devel] Re: [PATCH] x86: Manage BIOS boot menu via command line,
Jan Kiszka <=
- Re: [Qemu-devel] [PATCH] x86: Manage BIOS boot menu via command line, Paul Brook, 2008/12/18
- Re: [Qemu-devel] [PATCH] x86: Manage BIOS boot menu via command line, Anthony Liguori, 2008/12/18
- Re: [Qemu-devel] [PATCH] x86: Manage BIOS boot menu via command line, Jan Kiszka, 2008/12/18
- Re: [Qemu-devel] [PATCH] x86: Manage BIOS boot menu via command line, Anthony Liguori, 2008/12/18
- Re: [Qemu-devel] [PATCH] x86: Manage BIOS boot menu via command line, Gleb Natapov, 2008/12/18
- Re: [Qemu-devel] [PATCH] x86: Manage BIOS boot menu via command line, Laurent Vivier, 2008/12/18
- [Qemu-devel] Re: [PATCH] x86: Manage BIOS boot menu via command line, Jan Kiszka, 2008/12/18
Re: [Qemu-devel] [PATCH] x86: Manage BIOS boot menu via command line, Anthony Liguori, 2008/12/18