]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[block] Allow for additional SAN boot parameters alongside filename
authorMichael Brown <mcb30@ipxe.org>
Tue, 5 Mar 2024 20:20:10 +0000 (20:20 +0000)
committerMichael Brown <mcb30@ipxe.org>
Wed, 6 Mar 2024 12:19:22 +0000 (12:19 +0000)
commit636ccb4ca55c73841e634f9d5986087fb3565da4
tree31a788498a6a03bfead3a7df5c8da9ef13eab8b9
parentb1c13cc43ece3008f7012cf736fc943d5bb89131
[block] Allow for additional SAN boot parameters alongside filename

The drive specification alone does not necessarily contain enough
information to perform a SAN boot (or local disk boot) under UEFI.  If
the next-stage bootloader is installed in the EFI system partition
under a non-standard name (e.g. "\EFI\debian\grubx64.efi") then this
explicit boot filename must also be specified.

Generalise this concept to use a "SAN boot configuration parameters"
structure (currently containing only the optional explicit boot
filename), to allow for easy expansion to provide other parameters
such as the partition UUID or volume label.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/x86/interface/pcbios/int13.c
src/core/dummy_sanboot.c
src/core/null_sanboot.c
src/hci/commands/sanboot_cmd.c
src/include/ipxe/sanboot.h
src/include/usr/autoboot.h
src/interface/efi/efi_block.c
src/usr/autoboot.c