Description
Extend Config<BootOptions> to support an arbitrary number of boot devices instead of just primary/secondary.
Requirements
- Change from
primary/secondary fields to a Vec<DevicePathBuf>
- Support
hotkey_devices as alternate boot list when hotkey is pressed
- Maintain builder pattern API
Current State
BootOptions currently only supports:
primary: Option<DevicePathBuf>
secondary: Option<DevicePathBuf>
The RFC shows:
devices: vec![
DevicePath::from("PciRoot(0x0)/Pci(0x1D,0x0)/NVMe(...)"),
DevicePath::from("PciRoot(0x0)/Pci(0x14,0x0)/USB(...)"),
],
Related