]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Mar 2023 07:50:17 +0000 (08:50 +0100)
commit5daa32be8c02f9cfc7e9dbc9c38828060739bd0e
tree1475d70b04a28813778da950da01eb106335cdbf
parentafb26bfc01db6ef4728e96314f08431934ffe833
KVM: VMX: Don't bother disabling eVMCS static key on module exit

[ Upstream commit da66de44b01e9b7fa09731057593850394bf32e4 ]

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>
Stable-dep-of: e32b120071ea ("KVM: VMX: Do _all_ initialization before exposing /dev/kvm to userspace")
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/kvm/vmx/vmx.c