* qemu-kvm: Unsolicited boot from net @ 2009-11-12 12:29 Jan Kiszka 2009-11-12 15:48 ` Marcelo Tosatti 0 siblings, 1 reply; 6+ messages in thread From: Jan Kiszka @ 2009-11-12 12:29 UTC (permalink / raw) To: Marcelo Tosatti; +Cc: kvm Hi Marcelo, since merge 2fb0744e0d qemu-kvm always tries to boot from network first when using default options. Upstream does not show this behavior. Jan -- Siemens AG, Corporate Technology, CT SE 2 Corporate Competence Center Embedded Linux ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: qemu-kvm: Unsolicited boot from net 2009-11-12 12:29 qemu-kvm: Unsolicited boot from net Jan Kiszka @ 2009-11-12 15:48 ` Marcelo Tosatti 2009-11-12 17:29 ` Jan Kiszka 0 siblings, 1 reply; 6+ messages in thread From: Marcelo Tosatti @ 2009-11-12 15:48 UTC (permalink / raw) To: Jan Kiszka; +Cc: kvm On Thu, Nov 12, 2009 at 01:29:37PM +0100, Jan Kiszka wrote: > Hi Marcelo, > > since merge 2fb0744e0d qemu-kvm always tries to boot from network first > when using default options. Upstream does not show this behavior. Did you install the updated roms after this commit? commit ec9f735638b6380361387fb49060f6712cb27602 Author: Anthony Liguori <aliguori@us.ibm.com> Date: Fri Oct 30 16:44:26 2009 -0500 Update gpxe roms to have BANNER_TIMEOUT=0 Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: qemu-kvm: Unsolicited boot from net 2009-11-12 15:48 ` Marcelo Tosatti @ 2009-11-12 17:29 ` Jan Kiszka 2009-11-12 20:11 ` Marcelo Tosatti 0 siblings, 1 reply; 6+ messages in thread From: Jan Kiszka @ 2009-11-12 17:29 UTC (permalink / raw) To: Marcelo Tosatti; +Cc: kvm Marcelo Tosatti wrote: > On Thu, Nov 12, 2009 at 01:29:37PM +0100, Jan Kiszka wrote: >> Hi Marcelo, >> >> since merge 2fb0744e0d qemu-kvm always tries to boot from network first >> when using default options. Upstream does not show this behavior. > > Did you install the updated roms after this commit? > > commit ec9f735638b6380361387fb49060f6712cb27602 > Author: Anthony Liguori <aliguori@us.ibm.com> > Date: Fri Oct 30 16:44:26 2009 -0500 > > Update gpxe roms to have BANNER_TIMEOUT=0 > > Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> I ran a complete & fresh mkbuilddir-configure-make-install cycle to exclude this. Moreover, the above change is actually not related to triggering the netboot but to wait for potential input of the user. Looking closer: It's actually still pcbios that is used by my installation - shouldn't this be Seabios now? Jan -- Siemens AG, Corporate Technology, CT SE 2 Corporate Competence Center Embedded Linux ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: qemu-kvm: Unsolicited boot from net 2009-11-12 17:29 ` Jan Kiszka @ 2009-11-12 20:11 ` Marcelo Tosatti 2009-11-12 20:44 ` Anthony Liguori 2009-11-13 15:18 ` Gleb Natapov 0 siblings, 2 replies; 6+ messages in thread From: Marcelo Tosatti @ 2009-11-12 20:11 UTC (permalink / raw) To: Jan Kiszka; +Cc: kvm, Gleb Natapov, Avi Kivity, Anthony Liguori On Thu, Nov 12, 2009 at 06:29:16PM +0100, Jan Kiszka wrote: > Marcelo Tosatti wrote: > > On Thu, Nov 12, 2009 at 01:29:37PM +0100, Jan Kiszka wrote: > >> Hi Marcelo, > >> > >> since merge 2fb0744e0d qemu-kvm always tries to boot from network first > >> when using default options. Upstream does not show this behavior. > > > > Did you install the updated roms after this commit? > > > > commit ec9f735638b6380361387fb49060f6712cb27602 > > Author: Anthony Liguori <aliguori@us.ibm.com> > > Date: Fri Oct 30 16:44:26 2009 -0500 > > > > Update gpxe roms to have BANNER_TIMEOUT=0 > > > > Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> > > I ran a complete & fresh mkbuilddir-configure-make-install cycle to > exclude this. Moreover, the above change is actually not related to > triggering the netboot but to wait for potential input of the user. Right. > Looking closer: It's actually still pcbios that is used by my > installation - shouldn't this be Seabios now? My understanding is that Seabios should get more testing with qemu-kvm (other than the cpu hotplug debate). Gleb/Avi would know for sure. Now whether pcbios option rom supports gpxe properly i don't know, maybe that is the root cause for the problem (yes, qemu-kvm loads gpxe and attempts to boot from the network first, the above commit only removes the annoying multi-second delay). CC'ing people with some clue. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: qemu-kvm: Unsolicited boot from net 2009-11-12 20:11 ` Marcelo Tosatti @ 2009-11-12 20:44 ` Anthony Liguori 2009-11-13 15:18 ` Gleb Natapov 1 sibling, 0 replies; 6+ messages in thread From: Anthony Liguori @ 2009-11-12 20:44 UTC (permalink / raw) To: Marcelo Tosatti Cc: Jan Kiszka, kvm, Gleb Natapov, Avi Kivity, Anthony Liguori, Glauber Costa Marcelo Tosatti wrote: >> Looking closer: It's actually still pcbios that is used by my >> installation - shouldn't this be Seabios now? >> > > My understanding is that Seabios should get more testing with qemu-kvm > (other than the cpu hotplug debate). Gleb/Avi would know for sure. > > Now whether pcbios option rom supports gpxe properly i don't know, maybe > that is the root cause for the problem (yes, qemu-kvm loads gpxe and > attempts to boot from the network first, the above commit only removes > the annoying multi-second delay). > > CC'ing people with some clue. > Yup, that's the problem. gPXE doesn't think PCBIOS is a PnP bios because it isn't. Therefore it doesn't enable BEV and uses int19 instead. This isn't a problem with older QEMUs because we only loaded the option roms on demand. We now load them unconditionally. Of course, that meant -boot cdn never really worked correctly. The only easy solution is moving to SeaBIOS. I'm surprised qemu-kvm hasn't already made the move to be honest. -- Regards, Anthony Liguori ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: qemu-kvm: Unsolicited boot from net 2009-11-12 20:11 ` Marcelo Tosatti 2009-11-12 20:44 ` Anthony Liguori @ 2009-11-13 15:18 ` Gleb Natapov 1 sibling, 0 replies; 6+ messages in thread From: Gleb Natapov @ 2009-11-13 15:18 UTC (permalink / raw) To: Marcelo Tosatti; +Cc: Jan Kiszka, kvm, Avi Kivity, Anthony Liguori On Thu, Nov 12, 2009 at 06:11:57PM -0200, Marcelo Tosatti wrote: > On Thu, Nov 12, 2009 at 06:29:16PM +0100, Jan Kiszka wrote: > > Marcelo Tosatti wrote: > > > On Thu, Nov 12, 2009 at 01:29:37PM +0100, Jan Kiszka wrote: > > >> Hi Marcelo, > > >> > > >> since merge 2fb0744e0d qemu-kvm always tries to boot from network first > > >> when using default options. Upstream does not show this behavior. > > > > > > Did you install the updated roms after this commit? > > > > > > commit ec9f735638b6380361387fb49060f6712cb27602 > > > Author: Anthony Liguori <aliguori@us.ibm.com> > > > Date: Fri Oct 30 16:44:26 2009 -0500 > > > > > > Update gpxe roms to have BANNER_TIMEOUT=0 > > > > > > Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> > > > > I ran a complete & fresh mkbuilddir-configure-make-install cycle to > > exclude this. Moreover, the above change is actually not related to > > triggering the netboot but to wait for potential input of the user. > > Right. > > > Looking closer: It's actually still pcbios that is used by my > > installation - shouldn't this be Seabios now? > > My understanding is that Seabios should get more testing with qemu-kvm > (other than the cpu hotplug debate). Gleb/Avi would know for sure. > There a couple of problem found recently in seabios. They will be fixed. I don't think we should wait with seabios switch in qemu-kvm. > Now whether pcbios option rom supports gpxe properly i don't know, maybe > that is the root cause for the problem (yes, qemu-kvm loads gpxe and > attempts to boot from the network first, the above commit only removes > the annoying multi-second delay). > > CC'ing people with some clue. -- Gleb. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-11-13 15:18 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-11-12 12:29 qemu-kvm: Unsolicited boot from net Jan Kiszka 2009-11-12 15:48 ` Marcelo Tosatti 2009-11-12 17:29 ` Jan Kiszka 2009-11-12 20:11 ` Marcelo Tosatti 2009-11-12 20:44 ` Anthony Liguori 2009-11-13 15:18 ` Gleb Natapov
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox