Re: [PATCH v5 04/12] x86/tdx: Add protected guest support for TDX guest

Borislav Petkov
2021-08-12T07:52:38Z

On Wed, Aug 04, 2021 at 04:00:18PM -0700, Kuppuswamy, Sathyanarayanan wrote:
> Boris, how do you want to proceed? Do you want me to implement intel_prot_guest_has()
> or change comparison log to TDX specific?

Yes, the idea was to have the generic call prot_guest_has() call
into the vendor one. This way each vendor is free to do whatever it
desires in its own version and callers simply need to call the generic
interface.

> > Given amd_prot_guest_has(), my guess is Boris intended intel_prot_guest_has()...

Yap, exactly.

Thx.

--
Regards/Gruss,
Boris.