Re: [PATCH v3 2/6] KVM: VMX: Extend BUILD_CONTROLS_SHADOW macro to support 64-bit variation

From: Sean Christopherson
Date: Fri Aug 06 2021 - 11:05:16 EST


On Fri, Aug 06, 2021, Zeng Guang wrote:
> On 8/6/2021 6:32 AM, Sean Christopherson wrote:
> > On Thu, Aug 05, 2021, Zeng Guang wrote:
> > > +BUILD_CONTROLS_SHADOW(tertiary_exec, TERTIARY_VM_EXEC_CONTROL, 64)
> > This fails to compile because all the TERTIARY collateral is in a later patch.
>
>
> Alternative to derive relative TERTIARY collateral and prepare them in this
> patch. Ok for that ?

It'd be better to move this line to the next patch, that way all the TERTIARY
stuff is in a single patch and isolated from controls shadow enhancement.