[PATCH v3 0/3] Extend KVM trace_kvm_nested_vmrun() to support VMX

Mingwei Zhang
2022-08-08T00:36:14Z

This patch set update trace_kvm_nested_vmrun() to support VMX. In
addition, add the guest_pgd field to enrich the trace information.

v2 -> v3:
- Split the insertion of guest pgd field into a separate patch [seanjc].
- Update field names as suggested [seanjc].

v2:
- https://lore.kernel.org/lkml/YurMLf3MDAK0RiZc@google.com/T/

v1 link:
- https://lore.kernel.org/lkml/20220708232304.1001099-2-mizhang@google.com/T/

David Matlack (1):
KVM: nVMX: Add tracepoint for nested vmenter

Mingwei Zhang (2):
KVM: x86: Update trace function for nested VM entry to support VMX
KVM: x86: Print guest pgd in kvm_nested_vmenter()

arch/x86/kvm/svm/nested.c | 8 ++++++--
arch/x86/kvm/trace.h | 33 +++++++++++++++++++++++----------
arch/x86/kvm/vmx/nested.c | 10 ++++++++++
arch/x86/kvm/x86.c | 2 +-
4 files changed, 40 insertions(+), 13 deletions(-)

base-commit: 922d4578cfd017da67f545bfd07331bda86f795d
--
2.37.1.559.g78731f0fdb-goog