Re: [PATCH v9 5/6] x86/sev: Add SNP-specific unaccepted memory support

From: Kirill A. Shutemov
Date: Tue Sep 12 2023 - 08:17:30 EST


On Thu, Sep 07, 2023 at 11:50:15AM -0500, Tom Lendacky wrote:
> > From a quick look at
> >
> >   [PATCHv14 9/9] x86/tdx: Add unaccepted memory support
> >
> > it actually seems very similar for INTEL_TDX_GUEST.
> >
> > Ideally UNACCEPTED_MEMORY would not assume EFI either, but the
> > implementation actually clearly does.
>
> @Kirill, is this something you are interested in having as well?

Unaccepted memory is an EFI feature I don't see how UNACCEPTED_MEMORY can
be untied from EFI. If there's other (non-EFI) environment that has
similar concept, sure we can try to generalize it beyond EFI.

TDX guest is only runs with EFI firmware so far, so depending onf EFI and
EFI_STUB is fine for TDX>

--
Kiryl Shutsemau / Kirill A. Shutemov