mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
x86: allow EFI reboot method neither on non-EFI platforms...
... nor EFI platforms with runtime services enabled. Suggested-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com> Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
1 parent
146786b922
commit
a31dc93b20
1 file changed
+3
@@ -80,6 +80,9 @@ static void __init set_reboot_type(char *str)
|
||||
break;
|
||||
str++;
|
||||
}
|
||||
|
||||
if ( reboot_type == BOOT_EFI && !efi_enabled(EFI_RS) )
|
||||
reboot_type = BOOT_INVALID;
|
||||
}
|
||||
custom_param("reboot", set_reboot_type);
|
||||
|
||||
|
||||