Re: [PATCH v14 03/13] x86/sev: Add Secure TSC support for SNP guests
From: Borislav Petkov
Date: Tue Oct 29 2024 - 10:28:30 EST
On Tue, Oct 29, 2024 at 05:19:29PM +0800, Xiaoyao Li wrote:
> IMHO, it's a bad starter.
What does a "bad starter" mean exactly?
> As more and more SNP features will be enabled in the future, a SNP init
> function like tdx_early_init() would be a good place for all SNP guest
> stuff.
There is already a call to sme_early_init() around that area. It could be
repurposed for SEV/SNP stuff too...
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette