diff options
author | Michael Brown | 2024-03-06 09:55:55 +0100 |
---|---|---|
committer | Michael Brown | 2024-03-06 17:11:29 +0100 |
commit | cea22d76e4cfdbd2d5a3a29bd541346710760457 (patch) | |
tree | 989f3ba4e8c9a604ecf060ce5aa5ce53dd526cca /src/include/ipxe/sanboot.h | |
parent | [efi] Add efi_path_guid() utility function (diff) | |
download | ipxe-cea22d76e4cfdbd2d5a3a29bd541346710760457.tar.gz ipxe-cea22d76e4cfdbd2d5a3a29bd541346710760457.tar.xz ipxe-cea22d76e4cfdbd2d5a3a29bd541346710760457.zip |
[block] Allow SAN boot device to be identified by UUID
Add a "--uuid" option which may be used to specify a boot device UUID,
to be matched against the GPT partition GUID.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/sanboot.h')
-rw-r--r-- | src/include/ipxe/sanboot.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/ipxe/sanboot.h b/src/include/ipxe/sanboot.h index d981226e..9841edda 100644 --- a/src/include/ipxe/sanboot.h +++ b/src/include/ipxe/sanboot.h @@ -19,6 +19,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); #include <ipxe/process.h> #include <ipxe/blockdev.h> #include <ipxe/acpi.h> +#include <ipxe/uuid.h> #include <config/sanboot.h> /** @@ -109,6 +110,8 @@ enum san_device_flags { struct san_boot_config { /** Boot filename (or NULL to use default) */ const char *filename; + /** UUID (or NULL to ignore UUID) */ + union uuid *uuid; }; /** |