Skip to content
Commit 2db67aac authored by Pavan Kumar Paluri's avatar Pavan Kumar Paluri Committed by Borislav Petkov (AMD)
Browse files

x86/virt: Provide "nosnp" boot option for sev kernel command line



Provide a "nosnp" kernel command line option to prevent enabling of the RMP
and SEV-SNP features in the host/hypervisor. Not initializing the RMP
removes system overhead associated with RMP checks.

  [ bp: Actually make it a HV-only cmdline option. ]

Co-developed-by: default avatarEric Van Tassell <Eric.VanTassell@amd.com>
Signed-off-by: default avatarEric Van Tassell <Eric.VanTassell@amd.com>
Signed-off-by: default avatarPavan Kumar Paluri <papaluri@amd.com>
Signed-off-by: default avatarBorislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: default avatarTom Lendacky <thomas.lendacky@amd.com>
Link: https://lore.kernel.org/r/20241014130948.1476946-3-papaluri@amd.com
parent 4ae47fa7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment