KVM: VMX: Don't bother disabling eVMCS static key on module exit
authorSean Christopherson <seanjc@google.com>
Wed, 30 Nov 2022 23:08:55 +0000 (23:08 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 29 Dec 2022 20:40:57 +0000 (15:40 -0500)
commitda66de44b01e9b7fa09731057593850394bf32e4
tree4cdf2a81586e287f6f11388fa0fc16f872bdabcc
parent2916b70fc342719f570640de07251b7f91feebdb
KVM: VMX: Don't bother disabling eVMCS static key on module exit

Don't disable the eVMCS static key on module exit, kvm_intel.ko owns the
key so there can't possibly be users after the kvm_intel.ko is unloaded,
at least not without much bigger issues.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20221130230934.1014142-12-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmx.c