Hi Michael:Just so I'm clear, is it true that in an SEV-SNP VM, the CPUID flags for
Thanks for your review. The patch mentioned by Boris has not been
merged and so still use X86_FEATURE_SEV_ES here. We may replace the
feature flag with X86_FEATURE_SEV_SNP after it's upstreamed.
SEV-ES*and* SEV-SNP are set? That would seem to be necessary for
your approach to work.
I wonder if it would be better to take the patch from Brijesh Singh
that adds X86_FEATURE_SEV_SNP and add it to your patch set (with
Brijesh's agreement, of course). That patch is small and straightforward.