[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE
From: |
Kevin O'Connor |
Subject: |
Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE |
Date: |
Thu, 5 Jan 2012 21:05:39 -0500 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, Jan 05, 2012 at 11:20:37AM +0200, Gleb Natapov wrote:
> On Thu, Jan 05, 2012 at 10:09:44AM +0100, Gerhard Wiesinger wrote:
> > But as far as I remember therefore the option ROM registers through
> > BIOS for INT 19h booting. So Seabios should know it that this is a
> > harddisk.
> It registers BEV. Otherwise you wouldn't be able to boot at all. In fact
> it registers multiple BEVs (one for each attached scsi device). But BIOS
> knows nothing about the device behind the BEV. It just jumps to BEV
> address to boot from it when INT 19h is called. There may be scsi cdrom
> there or even tape.
Gerhard's option rom is actually registering a BCV, and SeaBIOS can
know that is likely a hard drive. So, I think Gerhard has a point.
SeaBIOS could probably fall back to the harddrive priority if it finds
a BCV without an explicit bootindex priority.
Gerhard - does the patch below improve things for you?
-Kevin
--- a/src/boot.c
+++ b/src/boot.c
@@ -326,7 +326,7 @@ boot_add_bev(u16 seg, u16 bev, u16 desc, int prio)
void
boot_add_bcv(u16 seg, u16 ip, u16 desc, int prio)
{
- bootentry_add(IPL_TYPE_BCV, defPrio(prio, DEFAULT_PRIO)
+ bootentry_add(IPL_TYPE_BCV, defPrio(prio, DefaultHDPrio)
, SEGOFF(seg, ip).segoff
, desc ? MAKE_FLATPTR(seg, desc) : "Legacy option rom");
}
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, (continued)
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Gleb Natapov, 2012/01/05
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Gerhard Wiesinger, 2012/01/05
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Gleb Natapov, 2012/01/05
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Gerhard Wiesinger, 2012/01/05
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Gleb Natapov, 2012/01/05
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Gerhard Wiesinger, 2012/01/05
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Gleb Natapov, 2012/01/05
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Gerhard Wiesinger, 2012/01/05
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Gleb Natapov, 2012/01/05
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Gerd Hoffmann, 2012/01/05
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE,
Kevin O'Connor <=
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Gleb Natapov, 2012/01/06
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Kevin O'Connor, 2012/01/06
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Gerhard Wiesinger, 2012/01/07
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Kevin O'Connor, 2012/01/07
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Gerhard Wiesinger, 2012/01/07
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Kevin O'Connor, 2012/01/07
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Gleb Natapov, 2012/01/08
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Kevin O'Connor, 2012/01/08
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Gleb Natapov, 2012/01/08
- Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE, Kevin O'Connor, 2012/01/08