Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

KVM: SVM: Fix confusing message if no exit handlers are installed

I hit this path on a AMD box and thought
someone was playing a April Fool's joke on me.

Signed-off-by: Bandan Das <bsd@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

authored by

Bandan Das and committed by
Marcelo Tosatti
faac2458 52eb5a6d

+1 -1
+1 -1
arch/x86/kvm/svm.c
··· 3562 3562 3563 3563 if (exit_code >= ARRAY_SIZE(svm_exit_handlers) 3564 3564 || !svm_exit_handlers[exit_code]) { 3565 - WARN_ONCE(1, "vmx: unexpected exit reason 0x%x\n", exit_code); 3565 + WARN_ONCE(1, "svm: unexpected exit reason 0x%x\n", exit_code); 3566 3566 kvm_queue_exception(vcpu, UD_VECTOR); 3567 3567 return 1; 3568 3568 }