Thread (114 messages) 114 messages, 6 authors, 2022-02-09

Re: [PATCH v9 38/43] x86/sev: Use firmware-validated CPUID for SEV-SNP guests

From: Borislav Petkov <bp@alien8.de>
Date: 2022-02-06 19:50:48
Also in: kvm, linux-efi, lkml, platform-driver-x86

On Fri, Jan 28, 2022 at 11:17:59AM -0600, Brijesh Singh wrote:
+/*
+ * It is useful from an auditing/testing perspective to provide an easy way
+ * for the guest owner to know that the CPUID table has been initialized as
+ * expected, but that initialization happens too early in boot to print any
+ * sort of indicator, and there's not really any other good place to do it.
If you really wanna do it - and I think it might make sense to be able
to dump that table for debugging or whatever purposes, you could define
a cmdline parameter like

	sev=debug

or so, which would enable checking and dumping of the cpuid table.

For example...

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help