KVM: nSVM: Trace VM-Enter consistency check failures
authorSean Christopherson <seanjc@google.com>
Thu, 4 Feb 2021 00:01:17 +0000 (16:01 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 15 Mar 2021 08:42:37 +0000 (04:42 -0400)
commit11f0cbf0c6050f2d8b3a24fc2ab8535bcaad54ea
treed25faeb77ecd63d37a2cf6d490137c591a653ce7
parent648fc8ae37147889ab326deb24ed3354e60cd9f8
KVM: nSVM: Trace VM-Enter consistency check failures

Use trace_kvm_nested_vmenter_failed() and its macro magic to trace
consistency check failures on nested VMRUN.  Tracing such failures by
running the buggy VMM as a KVM guest is often the only way to get a
precise explanation of why VMRUN failed.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210204000117.3303214-13-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/nested.c