Re: [RFC PATCH 09/21] KVM: TDX: Enable 2MB mapping size after TD is RUNNABLE

From: Sean Christopherson
Date: Fri Jun 20 2025 - 14:40:44 EST


On Fri, Jun 20, 2025, Kirill Shutemov wrote:
> On Fri, Jun 20, 2025 at 09:32:45AM -0700, Sean Christopherson wrote:
> > On Wed, Jun 18, 2025, Kirill Shutemov wrote:
> > > On Wed, Jun 18, 2025 at 04:22:59AM +0300, Edgecombe, Rick P wrote:
> > > > On Tue, 2025-06-17 at 08:52 +0800, Yan Zhao wrote:
> > > > > > hopefully is just handling accepting a whole range that is not 2MB aligned.
> > > > > > But
> > > > > > I think we need to verify this more.
> > > > > Ok.
> > > >
> > > > In Linux guest if a memory region is not 2MB aligned the guest will accept the
> >
> > What is a "memory region" in this context? An e820 region? Something else?
>
> EFI memory map entry.

I forget, for TDX, is the EFI map built by guest firmware or by the VMM?