projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fc3977
)
KVM: VMX: dump VMCS on failed entry
author
Paolo Bonzini
<pbonzini@redhat.com>
Fri, 19 Jul 2019 16:15:08 +0000
(18:15 +0200)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Sat, 20 Jul 2019 07:00:47 +0000
(09:00 +0200)
This is useful for debugging, and is ratelimited nowadays.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmx.c
patch
|
blob
|
history
diff --git
a/arch/x86/kvm/vmx/vmx.c
b/arch/x86/kvm/vmx/vmx.c
index 280320f74db7b7ff87f24bb04edd809eb6b4e7eb..a279447eb75b6172ac470cd95e84b3e56f92ac90 100644
(file)
--- a/
arch/x86/kvm/vmx/vmx.c
+++ b/
arch/x86/kvm/vmx/vmx.c
@@
-5829,6
+5829,7
@@
static int vmx_handle_exit(struct kvm_vcpu *vcpu)
}
if (unlikely(vmx->fail)) {
+ dump_vmcs();
vcpu->run->exit_reason = KVM_EXIT_FAIL_ENTRY;
vcpu->run->fail_entry.hardware_entry_failure_reason
= vmcs_read32(VM_INSTRUCTION_ERROR);