Re: [PATCH v7 029/102] KVM: TDX: allocate/free TDX vcpu structure

From: Isaku Yamahata
Date: Tue Jul 12 2022 - 03:55:31 EST


On Tue, Jun 28, 2022 at 11:34:55PM +1200,
Kai Huang <kai.huang@xxxxxxxxx> wrote:

> On Mon, 2022-06-27 at 14:53 -0700, isaku.yamahata@xxxxxxxxx wrote:
> > From: Isaku Yamahata <isaku.yamahata@xxxxxxxxx>
> >
> > The next step of TDX guest creation is to create vcpu. Allocate TDX vcpu
> > structures, initialize it. Allocate pages of TDX vcpu for the TDX module.
> >
> > In the case of the conventional case, cpuid is empty at the initialization.
> > and cpuid is configured after the vcpu initialization. Because TDX
> > supports only X2APIC mode, cpuid is forcibly initialized to support X2APIC
> > on the vcpu initialization.
>
> The patch title and commit message of this patch are identical to the previous
> patch.
>
> What happened? Did you forget to squash two patches together?

Forgot to squash this patch into the previous patch. Will fix it.
--
Isaku Yamahata <isaku.yamahata@xxxxxxxxx>