aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRadim Krčmář <rkrcmar@redhat.com>2017-01-13 12:59:04 -0500
committerRadim Krčmář <rkrcmar@redhat.com>2017-03-20 11:25:05 -0400
commit6c6c5e0311c83ffe75e14260fb83e05e21e1d488 (patch)
treec2fe4ce375577e2898a73b87719d8352c106f064
parent97da3854c526d3a6ee05c849c96e48d21527606c (diff)
KVM: VMX: downgrade warning on unexpected exit code
We never needed the call trace and we better rate-limit if it can be triggered by a guest. Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
-rw-r--r--arch/x86/kvm/vmx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index 98e82ee1e699..e7ec88961b1a 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -8501,7 +8501,8 @@ static int vmx_handle_exit(struct kvm_vcpu *vcpu)
8501 && kvm_vmx_exit_handlers[exit_reason]) 8501 && kvm_vmx_exit_handlers[exit_reason])
8502 return kvm_vmx_exit_handlers[exit_reason](vcpu); 8502 return kvm_vmx_exit_handlers[exit_reason](vcpu);
8503 else { 8503 else {
8504 WARN_ONCE(1, "vmx: unexpected exit reason 0x%x\n", exit_reason); 8504 vcpu_unimpl(vcpu, "vmx: unexpected exit reason 0x%x\n",
8505 exit_reason);
8505 kvm_queue_exception(vcpu, UD_VECTOR); 8506 kvm_queue_exception(vcpu, UD_VECTOR);
8506 return 1; 8507 return 1;
8507 } 8508 }