acfe5cbc53
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kexec-tools?expand=0&rev=96
51 lines
1.6 KiB
Diff
51 lines
1.6 KiB
Diff
From: Michal Suchanek <msuchanek@suse.de>
|
|
Date: Mon, 26 Feb 2018 12:51:21 +0100
|
|
Subject: kexec: Document -s, -c and -a options in the man page
|
|
References: bsc#1080916, boo#1076839
|
|
Upstream: merged
|
|
Git-commit: 1ded8729a29ff36880fc5169e93361971f4cab35
|
|
|
|
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
|
|
---
|
|
v5: document that KEXEC_LOAD may be disabled
|
|
v6: document that fallback happens in case the kernel does not
|
|
understand the image
|
|
---
|
|
kexec/kexec.8 | 20 ++++++++++++++++++++
|
|
1 file changed, 20 insertions(+)
|
|
|
|
diff --git a/kexec/kexec.8 b/kexec/kexec.8
|
|
index e0131b4ea827..fb8a4c9caa45 100644
|
|
--- a/kexec/kexec.8
|
|
+++ b/kexec/kexec.8
|
|
@@ -144,6 +144,26 @@ Load the new kernel for use on panic.
|
|
Specify that the new kernel is of this
|
|
.I type.
|
|
.TP
|
|
+.BI \-s\ (\-\-kexec-file-syscall)
|
|
+Specify that the new KEXEC_FILE_LOAD syscall should be used exclusively.
|
|
+.TP
|
|
+.BI \-c\ (\-\-kexec-syscall)
|
|
+Specify that the old KEXEC_LOAD syscall should be used exclusively (the default).
|
|
+.TP
|
|
+.BI \-a\ (\-\-kexec-syscall-auto)
|
|
+Try the new KEXEC_FILE_LOAD syscall first and when it is not supported or the
|
|
+kernel does not understand the supplied image fall back to the old KEXEC_LOAD
|
|
+interface.
|
|
+
|
|
+There is no one single interface that always works.
|
|
+
|
|
+KEXEC_FILE_LOAD is required on systems that use locked-down secure boot to
|
|
+verify the kernel signature. KEXEC_LOAD may be also disabled in the kernel
|
|
+configuration.
|
|
+
|
|
+KEXEC_LOAD is required for some kernel image formats and on architectures that
|
|
+do not implement KEXEC_FILE_LOAD.
|
|
+.TP
|
|
.B \-u\ (\-\-unload)
|
|
Unload the current
|
|
.B kexec
|
|
--
|
|
2.13.6
|
|
|