mbox series

[v4,0/3] Extend KVM trace_kvm_nested_vmrun() to support VMX

Message ID 20220825225755.907001-1-mizhang@google.com (mailing list archive)
Headers show
Series Extend KVM trace_kvm_nested_vmrun() to support VMX | expand

Message

Mingwei Zhang Aug. 25, 2022, 10:57 p.m. UTC
This patch set update trace_kvm_nested_vmrun() to support VMX. In
addition, add the guest_pgd field to enrich the trace information.

v3 -> v4:
 - Rebase to tip of kvm/queue.

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: 372d07084593dc7a399bf9bee815711b1fb1bcf2

Comments

Sean Christopherson Aug. 30, 2022, 8:29 p.m. UTC | #1
On Thu, Aug 25, 2022, Mingwei Zhang wrote:
> This patch set update trace_kvm_nested_vmrun() to support VMX. In
> addition, add the guest_pgd field to enrich the trace information.
 
...

> 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(-)

Some nits that I fixed up when applying (will respond to individual patches).


Pushed to branch `for_paolo/6.1` at:

    https://github.com/sean-jc/linux.git

Unless you hear otherwise, it will make its way the official KVM tree "soon".

Note, the commit IDs are not guaranteed to be stable.