Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
discover/boot: add support for
kexec -s
for kexec_file_load
kexec supports a -s option to perform a kexec_file_load syscall (in place of a kexec_load). This is triggered through the -s argument to kexec. This change adds support for calling kexec with -s. If that fails, we fall back to -l. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
- Loading branch information
Showing
1 changed file
with
57 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters