Project

General

Profile

Bug #11517

loader.efi: efipart should be more careful about constructing block device lists

Added by Toomas Soome 4 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
bootloader
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

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.

History

#1

Updated by Toomas Soome 4 months ago

  • Status changed from Feedback to In Progress
#2

Updated by Electric Monk 4 months ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit 0f2f3e995cde8dabd9edf8bb05b957a50bc7cc20

commit  0f2f3e995cde8dabd9edf8bb05b957a50bc7cc20
Author: Toomas Soome <tsoome@me.com>
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 <josh@sysmgr.org>
    Approved by: Robert Mustacchi <rm@joyent.com>

Also available in: Atom PDF