From: Gleb Natapov <gleb@redhat.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] x86: Manage BIOS boot menu via command line
Date: Thu, 18 Dec 2008 15:30:53 +0200 [thread overview]
Message-ID: <20081218133053.GA32126@redhat.com> (raw)
In-Reply-To: <494A4A55.2090700@siemens.com>
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 <jan.kiszka@siemens.com>
> +
> +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?
--
Gleb.
next prev parent reply other threads:[~2008-12-18 13:30 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-18 13:04 [Qemu-devel] [PATCH] x86: Manage BIOS boot menu via command line Jan Kiszka
2008-12-18 13:30 ` Gleb Natapov [this message]
2008-12-18 16:06 ` [Qemu-devel] " Jan Kiszka
2008-12-18 16:20 ` [Qemu-devel] " Paul Brook
2008-12-18 16:28 ` Anthony Liguori
2008-12-18 16:57 ` Jan Kiszka
2008-12-18 17:23 ` Anthony Liguori
2008-12-18 17:41 ` Gleb Natapov
2008-12-18 18:43 ` Laurent Vivier
2008-12-18 21:28 ` [Qemu-devel] " Jan Kiszka
2008-12-18 16:27 ` [Qemu-devel] " Anthony Liguori
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081218133053.GA32126@redhat.com \
--to=gleb@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.