KVM: x86: Move Intel Processor Trace interrupt handler to vmx.c
authorSean Christopherson <seanjc@google.com>
Thu, 11 Nov 2021 02:07:34 +0000 (02:07 +0000)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 17 Nov 2021 13:49:10 +0000 (14:49 +0100)
commit33271a9e2b52e07e278a67c900d2d2afb5c55bd5
tree9aa68bfd8d5c9cae1b96c7baa7925fe1747b2b9b
parente1bfc24577cc65c95dc519d7621a9c985b97e567
KVM: x86: Move Intel Processor Trace interrupt handler to vmx.c

Now that all state needed for VMX's PT interrupt handler is exposed to
vmx.c (specifically the currently running vCPU), move the handler into
vmx.c where it belongs.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20211111020738.2512932-14-seanjc@google.com
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/x86.c