]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: x86: Track irq_bypass_vcpu in common x86 code
authorSean Christopherson <seanjc@google.com>
Wed, 11 Jun 2025 22:45:37 +0000 (15:45 -0700)
committerSean Christopherson <seanjc@google.com>
Mon, 23 Jun 2025 16:50:33 +0000 (09:50 -0700)
commit511754bc548b59e136fcf433da23ba39c74684cf
tree97cd040a657d1d5caa5a5d42d35808c8437a62bc
parent77bb184ab880171a1cedfbed9ab05977e6ae2258
KVM: x86: Track irq_bypass_vcpu in common x86 code

Track the vCPU that is being targeted for IRQ bypass, a.k.a. for a posted
IRQ, in common x86 code.  This will allow for additional consolidation of
the SVM and VMX code.

Tested-by: Sairaj Kodilkar <sarunkod@amd.com>
Link: https://lore.kernel.org/r/20250611224604.313496-36-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/irq.c
arch/x86/kvm/svm/avic.c