Skip to content

Commit

Permalink
KVM: SVM: Fix confusing message if no exit handlers are installed
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bandan Das authored and Marcelo Tosatti committed Mar 19, 2015
1 parent 52eb5a6 commit faac245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kvm/svm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit faac245

Please sign in to comment.