forked from pool/kexec-tools
52 lines
1.8 KiB
Diff
52 lines
1.8 KiB
Diff
|
From 1ded8729a29ff36880fc5169e93361971f4cab35 Mon Sep 17 00:00:00 2001
|
||
|
Message-Id: <1ded8729a29ff36880fc5169e93361971f4cab35.1522755494.git.msuchanek@suse.de>
|
||
|
In-Reply-To: <e810acd57d9fc2d7ba3b0e95d470c20de9948462.1522755494.git.msuchanek@suse.de>
|
||
|
References: <e810acd57d9fc2d7ba3b0e95d470c20de9948462.1522755494.git.msuchanek@suse.de>
|
||
|
From: Michal Suchanek <msuchanek@suse.de>
|
||
|
Date: Mon, 26 Feb 2018 12:51:21 +0100
|
||
|
Subject: [PATCH v6 6/6] kexec: Document -s, -c and -a options in the man page
|
||
|
|
||
|
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
|
||
|
|