* [Qemu-devel] iPXE/Etherboot prompts twice for booting?
@ 2011-04-16 19:41 Michael Tokarev
2011-04-18 9:45 ` Stefan Hajnoczi
0 siblings, 1 reply; 4+ messages in thread
From: Michael Tokarev @ 2011-04-16 19:41 UTC (permalink / raw)
To: qemu-devel
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?
Thanks!
/mjt
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] iPXE/Etherboot prompts twice for booting?
2011-04-16 19:41 [Qemu-devel] iPXE/Etherboot prompts twice for booting? Michael Tokarev
@ 2011-04-18 9:45 ` Stefan Hajnoczi
2011-04-18 16:10 ` Alex Williamson
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Hajnoczi @ 2011-04-18 9:45 UTC (permalink / raw)
To: Michael Tokarev; +Cc: qemu-devel
On Sat, Apr 16, 2011 at 8:41 PM, Michael Tokarev <mjt@tls.msk.ru> 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.
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] iPXE/Etherboot prompts twice for booting?
2011-04-18 9:45 ` Stefan Hajnoczi
@ 2011-04-18 16:10 ` Alex Williamson
2011-04-19 9:16 ` Stefan Hajnoczi
0 siblings, 1 reply; 4+ messages in thread
From: Alex Williamson @ 2011-04-18 16:10 UTC (permalink / raw)
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 <mjt@tls.msk.ru> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] iPXE/Etherboot prompts twice for booting?
2011-04-18 16:10 ` Alex Williamson
@ 2011-04-19 9:16 ` Stefan Hajnoczi
0 siblings, 0 replies; 4+ messages in thread
From: Stefan Hajnoczi @ 2011-04-19 9:16 UTC (permalink / raw)
To: Alex Williamson; +Cc: Michael Tokarev, qemu-devel
On Mon, Apr 18, 2011 at 5:10 PM, Alex Williamson
<alex.williamson@redhat.com> wrote:
> On Mon, 2011-04-18 at 10:45 +0100, Stefan Hajnoczi wrote:
>> On Sat, Apr 16, 2011 at 8:41 PM, Michael Tokarev <mjt@tls.msk.ru> 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:
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-04-19 9:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-16 19:41 [Qemu-devel] iPXE/Etherboot prompts twice for booting? Michael Tokarev
2011-04-18 9:45 ` Stefan Hajnoczi
2011-04-18 16:10 ` Alex Williamson
2011-04-19 9:16 ` Stefan Hajnoczi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).