summaryrefslogtreecommitdiff
path: root/arch/x86/kvm
diff options
context:
space:
mode:
authorBandan Das <bsd@redhat.com>2015-03-17 00:18:25 +0300
committerMarcelo Tosatti <mtosatti@redhat.com>2015-03-19 03:52:49 +0300
commitfaac2458518e20130664d77b657303758f1aaf5a (patch)
tree18a1b08b480c68bd46e5dfd6e27b5f68094a749c /arch/x86/kvm
parent52eb5a6d576b5bca14797a4085abdd68ad8c0b3f (diff)
downloadlinux-faac2458518e20130664d77b657303758f1aaf5a.tar.xz
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>
Diffstat (limited to 'arch/x86/kvm')
-rw-r--r--arch/x86/kvm/svm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index 3ef203a45c3e..155534c0f5e8 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -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;
}