Re: [PATCH v13 024/113] KVM: TDX: allocate/free TDX vcpu structure

From: Isaku Yamahata
Date: Wed Apr 05 2023 - 15:07:07 EST


On Tue, Apr 04, 2023 at 10:44:38PM +0300,
Zhi Wang <zhi.wang.linux@xxxxxxxxx> wrote:

> > +void tdx_vcpu_reset(struct kvm_vcpu *vcpu, bool init_event)
> > +{
> > +
> > + /* Ignore INIT silently because TDX doesn't support INIT event. */
> > + if (init_event)
> > + return;
> > +
> > + /* This is stub for now. More logic will come here. */
> > +
> > + /*
> > + * Don't update mp_state to runnable because more initialization
> > + * is needed by TDX_VCPU_INIT.
> > + */
> ^
> guess this comment belongs to the later patch.

Ah, right. I'll move the comment to the next patch.
--
Isaku Yamahata <isaku.yamahata@xxxxxxxxx>