Currently, kernel has supported the kexec_file_load() syscall on s390x,
so I follow this commit:
6a20bd54473e ("kdump-lib: switch to the kexec_file_load() syscall on
x86_64 by default")
And also enable the kexec_file_load() syscall for kdump on s390x by
default.
Signed-off-by: Lianbo Jiang <lijiang(a)redhat.com>
---
Changes since v1:
[1] Remove the change for arm64 because fedora kernel doesn't support
the file load.
kdump.sysconfig.s390x | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/kdump.sysconfig.s390x b/kdump.sysconfig.s390x
index abd45a2f332d..75ff2a25f37b 100644
--- a/kdump.sysconfig.s390x
+++ b/kdump.sysconfig.s390x
@@ -41,3 +41,9 @@ KDUMP_IMG="vmlinuz"
#What is the images extension. Relocatable kernels don't have one
KDUMP_IMG_EXT=""
+
+# Using kexec file based syscall by default
+#
+# Here, the "on" is the only valid value to enable the kexec file load and
+# anything else is equal to the "off"(disable).
+KDUMP_FILE_LOAD="on"
--
2.17.1
Show replies by date