KVM: x86: warn on incorrectly NULL members of kvm_x86_ops
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 9 Dec 2021 13:12:48 +0000 (08:12 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 18 Feb 2022 17:31:43 +0000 (12:31 -0500)
commitdd2319c61888018a5295264c9b631e151dad364d
treea4f8b209b14181d57ead52a8dee4c50d4881ae82
parente4fc23bad813591417f466beb7e833cdd2089cf6
KVM: x86: warn on incorrectly NULL members of kvm_x86_ops

Use the newly corrected KVM_X86_OP annotations to warn about possible
NULL pointer dereferences as soon as the vendor module is loaded.

Reviewed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h