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

Reply via email to