From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:48259) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QBr1u-0007CS-VX for qemu-devel@nongnu.org; Mon, 18 Apr 2011 12:10:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QBr1t-0004RU-Fo for qemu-devel@nongnu.org; Mon, 18 Apr 2011 12:10:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54755) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QBr1t-0004RM-7L for qemu-devel@nongnu.org; Mon, 18 Apr 2011 12:10:25 -0400 From: Alex Williamson In-Reply-To: References: <4DA9F107.70209@msgid.tls.msk.ru> Content-Type: text/plain; charset="UTF-8" Date: Mon, 18 Apr 2011 10:10:21 -0600 Message-ID: <1303143021.3110.37.camel@x201> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] iPXE/Etherboot prompts twice for booting? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Michael Tokarev , qemu-devel 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. Once like > > this: "Press Ctrl-B to configure", at early stage, > > even if -boot n is not selected. And 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: https://github.com/awilliam/qemu/tree/ipxe Alex