Documentation
¶
Overview ¶
Package kexec allows executing subsequent kernels from Linux userspace.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileLoad ¶
FileLoad loads the given kernel as the new kernel with the given initramfs and cmdline. It also performs auxiliary work like adding the ACPI RSDP physical address to command line if using EFI. The kernel can be started by calling unix.Reboot(unix.LINUX_REBOOT_CMD_KEXEC). The underlying syscall is only available on x86_64, arm64 and riscv. Parts of this function are taken from u-root's kexec package.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.