int san_describe(void)
Describe SAN devices for SAN-booted operating system.
int san_hook(unsigned int drive, struct uri **uris, unsigned int count, unsigned int flags)
Hook SAN device.
static int null_san_boot(unsigned int drive __unused, struct san_boot_config *config __unused)
static int null_san_describe(void)
int san_boot(unsigned int drive, struct san_boot_config *config)
Attempt to boot from a SAN device.
uint8_t drive
Drive number.
static int null_san_hook(unsigned int drive __unused, struct uri **uris __unused, unsigned int count __unused, unsigned int flags __unused)
#define __unused
Declare a variable or data structure as unused.
SAN boot configuration parameters.
uint16_t count
Number of entries.
PROVIDE_SANBOOT(null, san_hook, null_san_hook)
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
#define EOPNOTSUPP
Operation not supported on socket.
static void null_san_unhook(unsigned int drive __unused)
void san_unhook(unsigned int drive)
Unhook SAN device.
A Uniform Resource Identifier.