]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[efi] Allow for creating devices with no EFI parent device
authorMichael Brown <mcb30@ipxe.org>
Tue, 25 Nov 2025 11:59:03 +0000 (11:59 +0000)
committerMichael Brown <mcb30@ipxe.org>
Tue, 25 Nov 2025 12:04:43 +0000 (12:04 +0000)
commit19dffdc836d0cbfd79ec475160e4a22600f67584
tree3eac9a83155db425084a2b509ae09813923de21a
parentdfea3bbfad75aa742623beb4d88e2be086a4b8ee
[efi] Allow for creating devices with no EFI parent device

On some systems (observed on an AWS m8g.medium instance in eu-west-2),
the UEFI firmware fails to enumerate some of the underlying hardware
devices.  On these systems, we cannot comply with the UEFI device
model by adding our SNP device as a child of the hardware device and
appending to the parent hardware device path, since no parent hardware
device has been created.

Work around these systems by allowing for the creation of SNP devices
with no parent device.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/include/ipxe/efi/efi_snp.h
src/interface/efi/efi_path.c
src/interface/efi/efi_snp.c