summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/svm.c
diff options
context:
space:
mode:
authorBandan Das2015-03-16 22:18:25 +0100
committerMarcelo Tosatti2015-03-19 01:52:49 +0100
commitfaac2458518e20130664d77b657303758f1aaf5a (patch)
tree18a1b08b480c68bd46e5dfd6e27b5f68094a749c /arch/x86/kvm/svm.c
parentKVM: x86: For the symbols used locally only should be static type (diff)
downloadkernel-qcow2-linux-faac2458518e20130664d77b657303758f1aaf5a.tar.gz
kernel-qcow2-linux-faac2458518e20130664d77b657303758f1aaf5a.tar.xz
kernel-qcow2-linux-faac2458518e20130664d77b657303758f1aaf5a.zip
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/svm.c')
-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;
}