KVM: SVM: Don't BUG if setting up the MSR intercept bitmaps fails
authorSean Christopherson <seanjc@google.com>
Tue, 10 Jun 2025 22:57:08 +0000 (15:57 -0700)
committerSean Christopherson <seanjc@google.com>
Fri, 20 Jun 2025 20:05:40 +0000 (13:05 -0700)
commit5ebd73730832d56dac9355707cab6f4cc5601396
tree4acb62081b920e52347d72d926e1b00d448d09e5
parentfb96d5cf0fdaacd2165797982502d5b157f8bcf5
KVM: SVM: Don't BUG if setting up the MSR intercept bitmaps fails

WARN and reject module loading if there is a problem with KVM's MSR
interception bitmaps.  Panicking the host in this situation is inexcusable
since it is trivially easy to propagate the error up the stack.

Link: https://lore.kernel.org/r/20250610225737.156318-4-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/svm/svm.c