Commit 093ddccb authored by Vasily Gorbik's avatar Vasily Gorbik Committed by Martin Schwidefsky

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: default avatarVasily Gorbik <gor@linux.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent db9492ce
...@@ -144,7 +144,7 @@ void setup_boot_command_line(void) ...@@ -144,7 +144,7 @@ void setup_boot_command_line(void)
strcpy(early_command_line, strim(COMMAND_LINE)); strcpy(early_command_line, strim(COMMAND_LINE));
/* append IPL PARM data to the boot 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(); append_ipl_block_parm();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment