Re: [PATCHv6 00/16] boot order specification

Gleb Natapov
2010-11-29T12:07:59Z

On Mon, Nov 29, 2010 at 11:19:29AM +0100, Gerd Hoffmann wrote:
> Hi,
>
> >>BTW are you actually aware of any option rom with multiple BCVs and, if
> >>yes, how those BCVs differ?
> >
> >Multiple BCVs - yes. A SCSI card will define a BCV for each attached
> >drive. I don't have a scsi card myself, but the support was added by
> >a user who ran into the problem first hand.
>
> FYI: You can test with a virtual card ;)
>
> lsi emulation in recent qemu versions is good enougth that the
> original boot rom runs. You can fetch it here:
>
> http://www.lsi.com/DistributionSystem/AssetDocument/files/support/ssp/sdms/Bios/lsi_bios.zip
>
> qemu -drive if=scsi,file=$image -option-rom 8xx_64.rom
>
> Gives you a list like this ...
>
> Press F12 for boot menu.
>
> Select boot device:
>
> 1. AHCI/0: QEMU HARDDISK ATA-7 Hard-Disk (8192 MiBytes)
> 2. #20 ID00 LUN0 QEMU QEMU HARD
> 3. #20 ID01 LUN0 QEMU QEMU HARD
> 4. DVD/CD [ata1-0: QEMU DVD-ROM ATAPI-4 DVD/CD]
> 5. DVD/CD [AHCI/2: QEMU DVD-ROM ATAPI-4 DVD/CD]
> 6. gPXE (PCI 00:03.0)
>
> ... where entries 2+3 are created by the scsi rom.
>
Thanks! If BCVs created by optionrom are always sorted by target we can
even determine what BCV correspond to which device path.

--
Gleb.