From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LDIx5-00076p-18 for qemu-devel@nongnu.org; Thu, 18 Dec 2008 08:30:07 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LDIx3-00075o-Pv for qemu-devel@nongnu.org; Thu, 18 Dec 2008 08:30:06 -0500 Received: from [199.232.76.173] (port=59045 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LDIx3-00075k-Ir for qemu-devel@nongnu.org; Thu, 18 Dec 2008 08:30:05 -0500 Received: from mx2.redhat.com ([66.187.237.31]:42041) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LDIx3-0001b6-09 for qemu-devel@nongnu.org; Thu, 18 Dec 2008 08:30:05 -0500 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id mBIDU0D5032719 for ; Thu, 18 Dec 2008 08:30:03 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id mBIDU0Bj002638 for ; Thu, 18 Dec 2008 08:30:00 -0500 Received: from dhcp-1-237.tlv.redhat.com (dhcp-1-237.tlv.redhat.com [10.35.1.237]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id mBIDTxAu024714 for ; Thu, 18 Dec 2008 08:29:59 -0500 Date: Thu, 18 Dec 2008 15:30:53 +0200 From: Gleb Natapov Subject: Re: [Qemu-devel] [PATCH] x86: Manage BIOS boot menu via command line Message-ID: <20081218133053.GA32126@redhat.com> References: <494A4A55.2090700@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <494A4A55.2090700@siemens.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 > + > +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.