KVM: x86: Unexport kvm_x86_ops
authorSean Christopherson <seanjc@google.com>
Fri, 28 Jan 2022 00:51:56 +0000 (00:51 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 10 Feb 2022 18:47:19 +0000 (13:47 -0500)
commitdfc4e6ca041135217c07ebcd102b6694cea22856
treee04b5f98ef7831aaf44ee2a015b200f0bbea5d5d
parent3d4421f8f26cbba0191cc0461399ec90284011a7
KVM: x86: Unexport kvm_x86_ops

Drop the export of kvm_x86_ops now it is no longer referenced by SVM or
VMX.  Disallowing access to kvm_x86_ops is very desirable as it prevents
vendor code from incorrectly modifying hooks after they have been set by
kvm_arch_hardware_setup(), and more importantly after each function's
associated static_call key has been updated.

No functional change intended.

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