Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
xen.950
5502ccff-x86-don-t-apply-reboot-quirks-if-reboo...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 5502ccff-x86-don-t-apply-reboot-quirks-if-reboot-set-by-user.patch of Package xen.950
# Commit 9832f5e8e3575f8affceb2751f7422704bf7b446 # Date 2015-03-13 12:41:51 +0100 # Author Ross Lagerwall <ross.lagerwall@citrix.com> # Committer Jan Beulich <jbeulich@suse.com> x86: don't apply reboot quirks if reboot set by user If reboot= is specified on the command-line, don't apply reboot quirks to allow the command-line option to take precedence. This is a port of Linux commit 5955633e91bf ("x86/reboot: Skip DMI checks if reboot set by user"). Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com> Leverage (and make apply on top of) c643fb110a ("x86/EFI: allow reboot= overrides when running under EFI"). Signed-off-by: Jan Beulich <jbeulich@suse.com> Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com> --- a/xen/arch/x86/shutdown.c +++ b/xen/arch/x86/shutdown.c @@ -460,6 +460,13 @@ static struct dmi_system_id __initdata r static int __init reboot_init(void) { + /* + * Only do the DMI check if reboot_type hasn't been overridden + * on the command line + */ + if ( reboot_type != BOOT_INVALID ) + return 0; + default_reboot_type(); dmi_check_system(reboot_dmi_table); return 0;
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