Re: [PATCH v11 39/45] x86/sev: Use firmware-validated CPUID for SEV-SNP guests

Borislav Petkov
2022-03-03T11:51:27Z

On Thu, Feb 24, 2022 at 10:56:19AM -0600, Brijesh Singh wrote:
> Also add an "sev_debug" kernel command-line parameter that will be used
> (initially) to dump the CPUID table for debugging/analysis.

No, not "sev_debug" - "sev=debug".

I'm pretty sure there will be need for other SEV-specific cmdline
options so this thing should be a set, i.e.,
"sev=(option1,option2?,option3?,...)"

etc.

See mcheck_enable() and the comment above it for an example.

--
Regards/Gruss,
Boris.