KVM: SVM: Fix confusing message if no exit handlers are installed
authorBandan Das <bsd@redhat.com>
Mon, 16 Mar 2015 21:18:25 +0000 (17:18 -0400)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 19 Mar 2015 00:52:49 +0000 (21:52 -0300)
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>
arch/x86/kvm/svm.c

index 3ef203a45c3e4ca0cbaee6afd945def4e3474b39..155534c0f5e8ad3c0f003c0b608ce0151f1cf1eb 100644 (file)
@@ -3562,7 +3562,7 @@ static int handle_exit(struct kvm_vcpu *vcpu)
 
        if (exit_code >= ARRAY_SIZE(svm_exit_handlers)
            || !svm_exit_handlers[exit_code]) {
-               WARN_ONCE(1, "vmx: unexpected exit reason 0x%x\n", exit_code);
+               WARN_ONCE(1, "svm: unexpected exit reason 0x%x\n", exit_code);
                kvm_queue_exception(vcpu, UD_VECTOR);
                return 1;
        }