qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] x86: Manage BIOS boot menu via command line


From: Gleb Natapov
Subject: Re: [Qemu-devel] [PATCH] x86: Manage BIOS boot menu via command line
Date: Thu, 18 Dec 2008 15:30:53 +0200

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?

--
                        Gleb.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]