Re: [PATCH] KVM: VMX: Move bus lock handler from main.c => common.h

From: Sean Christopherson

Date: Tue Sep 22 2026 - 10:20:07 EST


On Tue, Sep 22, 2026, Xiaoyao Li wrote:
> On 9/22/2026 8:01 AM, Sean Christopherson wrote:
> > Move the bus lock VM-Exit handler, which is basically a one-liner, from
> > main.c to vmx.h now that to_vt() is usable in common.h.
> >
> > No functional change intended.
> >
> > Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>
> > ---
> >
> > This applies on top of kvm-x86/next + Xiayao's series. I.e. actually applying
> > it will be painful for anyone but me at this point, but I'm really just posting
> > for posterity.
>
> It seems like squashing it into patch 7 of my series would be OK as well. I
> guess you intended to avoid changing my series since it might require a new
> version.

Heh, I would have happily squashed, and tried to. The problem is that I want to
land your series before "Move common VT getters/converters to common.h".

https://lore.kernel.org/all/20260904010353.3175819-8-seanjc@xxxxxxxxxx