From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:33724) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QC73H-0003AF-3C for qemu-devel@nongnu.org; Tue, 19 Apr 2011 05:16:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QC73F-0001D5-Vm for qemu-devel@nongnu.org; Tue, 19 Apr 2011 05:16:55 -0400 Received: from mail-yi0-f45.google.com ([209.85.218.45]:44810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QC73F-0001D1-TT for qemu-devel@nongnu.org; Tue, 19 Apr 2011 05:16:53 -0400 Received: by yib19 with SMTP id 19so2456263yib.4 for ; Tue, 19 Apr 2011 02:16:53 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1303143021.3110.37.camel@x201> References: <4DA9F107.70209@msgid.tls.msk.ru> <1303143021.3110.37.camel@x201> Date: Tue, 19 Apr 2011 10:16:53 +0100 Message-ID: From: Stefan Hajnoczi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] iPXE/Etherboot prompts twice for booting? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex Williamson Cc: Michael Tokarev , qemu-devel On Mon, Apr 18, 2011 at 5:10 PM, Alex Williamson wrote: > On Mon, 2011-04-18 at 10:45 +0100, Stefan Hajnoczi wrote: >> On Sat, Apr 16, 2011 at 8:41 PM, Michael Tokarev wrote: >> > I'm playing with iPXE ROM images again, and see >> > iPXE prompts two times during bootup. =A0Once like >> > this: "Press Ctrl-B to configure", at early stage, >> > even if -boot n is not selected. =A0And second time >> > when it actually tries to boot, like "Press Ctrl-B >> > for the command line". >> > >> > The same behavor happens with old Etherboot, with >> > the exception that during init stage it tries to >> > boot too but fails. >> > >> > Any idea how to get rid of that? >> >> IIRC you need to #define BANNER_TIMEOUT 0 in src/config/general.h. > > I think src/local/config/general.h is the preferred location, which is > what the script in my tree does and includes pre-built ipxe images: Yeah, using the top-level config is just my bad habit. The point of local/ is to prevent conflicts if you update the code and to make git ignore your local changes. Stefan