lkml.org 
[lkml]   [2025]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v4 13/16] KVM: TDX: Handle PAMT allocation in fault path
Date
On Wed, 2025-11-26 at 13:56 +0800, Binbin Wu wrote:
> > --- a/arch/x86/kvm/vmx/tdx.c
> > +++ b/arch/x86/kvm/vmx/tdx.c
> > @@ -683,6 +683,8 @@ int tdx_vcpu_create(struct kvm_vcpu *vcpu)
> >     if (!irqchip_split(vcpu->kvm))
> >     return -EINVAL;
> >   
> > + INIT_LIST_HEAD(&tdx->prealloc.page_list);
> > +
>
> Should this change be moved to patch 12?
> Because the pre-alloc page list has started to be used in patch 12 for
> external
> page tables even without enabling dynamic PAMT.

Oh, yes. thanks.
\
 
 \ /
  Last update: 2025-11-26 23:34    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog