]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: Add VM-Enter failed tracepoints for super early checks
authorSean Christopherson <sean.j.christopherson@intel.com>
Wed, 12 Aug 2020 18:06:15 +0000 (11:06 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 28 Sep 2020 11:57:23 +0000 (07:57 -0400)
commit08a5cd58d7810eaf1975a20c4219d193c04169bf
tree0b35b80a9be3ecfa43faf2a8b2bd65e12d02295b
parentf8b79624b9c3a2f82397258cb1aa9170ea381fe1
KVM: nVMX: Add VM-Enter failed tracepoints for super early checks

Add tracepoints for the early consistency checks in nested_vmx_run().
The "VMLAUNCH vs. VMRESUME" check in particular is useful to trace, as
there is no architectural way to check VMCS.LAUNCH_STATE, and subtle
bugs such as VMCLEAR on the wrong HPA can lead to confusing errors in
the L1 VMM.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200812180615.22372-1-sean.j.christopherson@intel.com>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/nested.c