summaryrefslogtreecommitdiff
path: root/kexec/kexec-xen.c
diff options
context:
space:
mode:
authorMichal Suchanek <msuchanek@suse.de>2018-03-28 15:15:18 +0200
committerSimon Horman <horms@verge.net.au>2018-03-30 10:45:33 +0200
commit20fea93e6cafe5ecbf4c6eacf82ec69058c51948 (patch)
tree924b6d8b9f891d358d4171c059afd1de4107d40a /kexec/kexec-xen.c
parentb58d076a6ed3612840bd7d71c65aa45641d6165a (diff)
kexec: Add option to fall back to KEXEC_LOAD when KEXEC_FILE_LOAD is not supported
Not all architectures implement KEXEC_FILE_LOAD. However, on some archiectures KEXEC_FILE_LOAD is required when secure boot is enabled in locked-down mode. Previously users had to select the KEXEC_FILE_LOAD syscall with undocumented -s option. However, if they did pass the option kexec would fail on architectures that do not support it. So add an -a option that tries KEXEC_FILE_LOAD and when it is not supported tries KEXEC_LOAD. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/kexec-xen.c')
0 files changed, 0 insertions, 0 deletions