From: Bandan Das Date: Mon, 16 Mar 2015 21:18:25 +0000 (-0400) Subject: KVM: SVM: Fix confusing message if no exit handlers are installed X-Git-Tag: MMI-PSA29.97-13-9~10342^2~36 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=faac2458518e20130664d77b657303758f1aaf5a;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: Marcelo Tosatti --- 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; }