Re: [PATCH 2/3] KVM: nVMX: Decouple INVVPID operand checks from flushing of vpid02

From: Yosry Ahmed

Date: Thu Jun 18 2026 - 12:06:30 EST


On Thu, Jun 18, 2026 at 3:57 AM Huang, Kai <kai.huang@xxxxxxxxx> wrote:
>
> On Tue, 2026-06-16 at 21:46 +0000, Yosry Ahmed wrote:
> > From: Sean Christopherson <seanjc@xxxxxxxxxx>
> >
> > Separate the INVVPID operand checks from the actual flushing of vpid02 so
> > the flushing can be adjusted to do the right thing when vmcs12 was last
>
> Nit: vmcs12 or vmcs02?

I think vmcs02 is more accurate here, good eye.

>
> > loaded on a different pCPU, without having to duplicate the logic across
> > multiple case-statements.
> >
> > Opportunistically let the VM-Fail paths poke out past 80 chars.
> >
> > No functional change intended.
> >
> > Cc: stable@xxxxxxxxxxxxxxx
> > Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>
> > Signed-off-by: Yosry Ahmed <yosry@xxxxxxxxxx>
>
> Reviewed-by: Kai Huang <kai.huang@xxxxxxxxx>

Thank you!