x86/sev: Add a sev= cmdline option
For debugging purposes it is very useful to have a way to see the full contents of the SNP CPUID table provided to a guest. Add an sev=debug kernel command-line option to do so. Also introduce some infrastructure so that additional options can be specified via sev=option1[,option2] over time in a consistent manner. [ bp: Massage, simplify string parsing. ] Suggested-by:Borislav Petkov <bp@alien8.de> Signed-off-by:
Michael Roth <michael.roth@amd.com> Signed-off-by:
Borislav Petkov <bp@suse.de> Link: https://lore.kernel.org/r/20220307213356.2797205-41-brijesh.singh@amd.com
Showing
- Documentation/admin-guide/kernel-parameters.txt 2 additions, 0 deletionsDocumentation/admin-guide/kernel-parameters.txt
- Documentation/x86/x86_64/boot-options.rst 14 additions, 0 deletionsDocumentation/x86/x86_64/boot-options.rst
- arch/x86/kernel/sev.c 44 additions, 0 deletionsarch/x86/kernel/sev.c
Loading