Skip to content

Support BCV table

Akio Takebe xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Support BCV tabletools/firmware/hvmloader/hvmloader.c tools/firmware/rombios/rombios.c tools/python/xen/xm/create.py +1 more+191 -250 replies
2/2Support BCV tablehw/pass-through.c hw/pc.c vl.c+84 -310 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Patch][0/2][BIOS] Support BCV table

Hi,

The patches support BCV table/priority in rombios.
The motivation is we want to:
- select bootable device because loading optionROM take a long time.
- retry other devices if we fail to boot wiht the first device.

BCV priority is a order of installing int 0x13 handler. In my patch, the priorty is decided with BDF number. ATA emulation disk is the highest priority,
and lower BDF number of passthrough devices is higher priority.

The patch adds two syntax in configuration file.
1. boot option of pci
e.g. pci = [ '01:00.0@6,boot=1' ]
2. p option of boot
e.g. boot = "pcd"

In the above example, hvmloader will load optionROM of 01:00.0 pass-through device. Then rombios will try to boot from pass-through device.
If it fail, rombios will try CD boot, and ATA disk boot.

I use hvm_info table for passing BDF numbers which we want to load their optionROMs. If still possible, please apply the patch.

Best Regards,

Akio Takebe