Support BCV table
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | Support BCV tabletools/ tools/ tools/ +1 more | +191 | 0 replies | |
| 2/2 | Support BCV tablehw/ hw/ vl.c | +84 | 10 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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