mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 05:11:48 +00:00
KVM: VMX: dump VMCS on failed entry
This is useful for debugging, and is ratelimited nowadays. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
6fc3977ccc
commit
3b20e03a10
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user