]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8380d03190f335bd62499f7f14696ca2189ad5cc
treeaff5a8761027e48da8d10016f130e3a519384643
parentc8f01120c979853a9c8e7f254c3ee265ea2cffef
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