Paolo Bonzini wrote:
This series adds a shortcut for network boot, similar to what is present on bare-metal machines. F11 will prioritize BCV/BEV entries for network devices over all the other items of the boot list.
After testing with a more recent QEMU I found that it deploys a BCV ROM that breaks network boot. So this series has two extra patches that track the PCI class for boot entries; this is then used to filter boot entries for network boot. A better choice of priorities for BCV and BEV is also implemented (patch 3).
After Peter Stuge's prod, I reorganized interactive_bootmenu to use a switch statement, and split the reindentation away in a separate patch.
Paolo
Might also want to update SMBIOS too. BIOS Characteristic Extension Byte 2, bit 1 should be set if BIOS supports "Network Boot Key". SMBIOS spec says it should (?) be F12, but it's currently used for boot menu.
Bit 0 of the same byte should be set too, because SeaBIOS supports BBS.
Sebastian