[SeaBIOS] [PATCH RFC] use bootorder file supplied by qemu to order bootable devices
Gleb Natapov
gleb at redhat.com
Mon Dec 13 15:09:31 CET 2010
On Mon, Dec 13, 2010 at 08:55:53AM -0500, Kevin O'Connor wrote:
> On Mon, Dec 13, 2010 at 08:44:08AM -0500, Kevin O'Connor wrote:
> > On Mon, Dec 13, 2010 at 03:12:51PM +0200, Gleb Natapov wrote:
> > > On Thu, Dec 09, 2010 at 08:27:10PM -0500, Kevin O'Connor wrote:
> > > > On Wed, Dec 08, 2010 at 02:00:50PM +0200, Gleb Natapov wrote:
> > > > > With patch below (goes on top of bev per CD patch) I can specify boot
> > > > > order from qemu command line between several NICs, CDROMs, floppy and
> > > > > disk. With qemu command like this:
> > > >
> > > > Hi Gleb.
> > > >
> > > > I'm a bit behind right now, but I'll take a look this weekend.
> > > >
> > > Have you had a chance to look at it? If not yet then here is updated
> > > version that fix one little bug with boot menu and choosing between
> > > multiple BCVs:
> >
> > I did look at it, but didn't get a chance to reply. Here are my
> > thoughts in brief:
>
> One other question - when a drive is listed in "bootorder", does your
> patch prioritize drive booting in the IPL in addition to the drive
> order in the BCV? I didn't see it, but I may have missed it.
>
Yes:
sort_ipls(IPL.bcv, IPL.bcvcount);
/* Hard disk IPL inherits priority of the bootanle bcv */
IPL.bev[1].prio = IPL.bcv[0].prio; <--- here it is
sort_ipls(IPL.bev, IPL.bevcount);
IPL.bootorder = 0x87654321;
--
Gleb.
More information about the SeaBIOS
mailing list