Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Rings:1-MinimalX
kexec-tools
kexec-tools-xen-inhibit-file-based-syscall.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kexec-tools-xen-inhibit-file-based-syscall.patch of Package kexec-tools
From 0d8ed73516dc869a911d687de7434bb95d1b1a73 Mon Sep 17 00:00:00 2001 From: "Lee, Chun-Yi" <jlee@suse.com> Date: Tue, 13 Oct 2015 18:31:27 +0800 Subject: [PATCH] kexec: inhibit file based syscall on XEN To inhibit file based syscall on XEN, using old syscall to load crash kernel. Signed-off-by: Lee, Chun-Yi <jlee@suse.com> --- kexec/kexec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: kexec-tools-2.0.5/kexec/kexec.c =================================================================== --- kexec-tools-2.0.5.orig/kexec/kexec.c +++ kexec-tools-2.0.5/kexec/kexec.c @@ -931,6 +931,7 @@ void usage(void) " preserve context)\n" " to original kernel.\n" " -s, --kexec-file-syscall Use file based syscall for kexec operation\n" + " (-s option is inhibited on XEN)\n" " -d, --debug Enable debugging to help spot a failure.\n" "\n" "Supported kernel file types and options: \n"); @@ -1187,7 +1188,7 @@ int main(int argc, char *argv[]) options, 0)) != -1) { switch(opt) { case OPT_KEXEC_FILE_SYSCALL: - do_kexec_file_syscall = 1; + do_kexec_file_syscall = (xen_present())? 0 : 1; break; } }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor