Skip to contentSkip to conversation

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

PATCH Applied Bandan Das 2 participants 2 messages Mar 16, 2015 – Mar 19, 2015

Subsystems (3)
lore
Share & tools
lore

Bandan Das

author
#0 lore raw

PATCH 1/1 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.

---
 arch/x86/kvm/svm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kvm/svm.c +1 -1
index cc618c8..4e77110 100644
@@ -3555,7 +3555,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;
 	}
Signature · 1 line
2.1.0
#1 lore raw
Quoted 8 lines · Bandan Das

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

---
 arch/x86/kvm/svm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.