loader.efi: efipart should be more careful about constructing block device lists
The cd handles should be collected as list of partitions. Some systems also provide base name for block device (like PciRoot(0x0)/Pci(0x5,0x0)), we need to be careful about those.
To make out life a bit easier, we prepare not just an array of handles, but we allocate pdinfo struct for each handle and devicepath, then we can simplify our work to sort the devices.
Tested with vmware fusion and bhyve.
Updated by Electric Monk almost 3 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit 0f2f3e995cde8dabd9edf8bb05b957a50bc7cc20 Author: Toomas Soome <firstname.lastname@example.org> Date: 2019-08-20T15:05:22.000Z 11517 loader.efi: efipart should be more careful about constructing block device lists Reviewed by: Joshua M. Clulow <email@example.com> Approved by: Robert Mustacchi <firstname.lastname@example.org>