KVM: move EXIT_FASTPATH_REENTER_GUEST to common code
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 2 Feb 2021 15:44:23 +0000 (10:44 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 4 Feb 2021 10:27:37 +0000 (05:27 -0500)
commitd89d04ab6030c73b24bbe032fb474e0fb74dd891
treeaff5a8761027e48da8d10016f130e3a519384643
parentfb18d053b7f823e6a9acf62d1be5b986ca614253
KVM: move EXIT_FASTPATH_REENTER_GUEST to common code

Now that KVM is using static calls, calling vmx_vcpu_run and
vmx_sync_pir_to_irr does not incur anymore the cost of a
retpoline.

Therefore there is no need anymore to handle EXIT_FASTPATH_REENTER_GUEST
in vendor code.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/x86.c
arch/x86/kvm/x86.h