Re: [PATCH] sev-snp: parse MP tables for VMware hypervisor
From: Borislav Petkov
Date: Mon Mar 10 2025 - 10:01:59 EST
On Mon, Mar 10, 2025 at 08:12:46AM -0500, Tom Lendacky wrote:
> >> + if (sev_status & MSR_AMD64_SEV_SNP_ENABLED &&
> >
> > cpu_feature_enabled(X86_FEATURE_SEV_SNP)
>
> I think this should really be cc_platform_has(CC_ATTR_GUEST_SEV_SNP).
Ah, we wanna check the guest, sure.
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette