mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
s390/protvirt: block kernel command line alteration
Disallow kernel command line alteration via ipl parameter block if running in protected virtualization environment. Signed-off-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
db9492cef4
commit
093ddccb55
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ void setup_boot_command_line(void)
|
|||
strcpy(early_command_line, strim(COMMAND_LINE));
|
||||
|
||||
/* append IPL PARM data to the boot command line */
|
||||
if (ipl_block_valid)
|
||||
if (!is_prot_virt_guest() && ipl_block_valid)
|
||||
append_ipl_block_parm();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue