Skip to content

KVM: nVMX: nSVM: Add more statistics to KVM debugfs

Krish Sadhukhan kvm 5 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 0 repliesNew
  2. v43 patches 3 repliesApplied
  3. v33 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v24 patches9 repliesSuperseded
v13 patches6 repliesSuperseded

Changes in v5 from the cover letter

Patch# 3 now adds the statistic to all architectures.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3KVM: nVMX: nSVM: 'nested_run' should count guest-entry attempts that make it to guest codearch/x86/include/asm/kvm_host.h arch/x86/kvm/svm/nested.c arch/x86/kvm/svm/svm.c +3 more+20 -70 replies
2/3KVM: nVMX: nSVM: Add a new VCPU statistic to show if VCPU is in guest modearch/x86/include/asm/kvm_host.h arch/x86/kvm/debugfs.c arch/x86/kvm/kvm_cache_regs.h +1 more+16 -00 replies
3/3KVM: Add a new VM statistic to show number of VCPUs created in a given VMarch/arm64/include/asm/kvm_host.h arch/arm64/kvm/guest.c arch/mips/include/asm/kvm_host.h +8 more+12 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH 0/3 v5] KVM: nVMX: nSVM: Add more statistics to KVM debugfs

v4 -> v5:
Patch# 3 now adds the statistic to all architectures.

[PATCH 1/3 v5] KVM: nVMX: nSVM: 'nested_run' should count guest-entry [PATCH 2/3 v5] KVM: nVMX: nSVM: Add a new VCPU statistic to show if VCPU [PATCH 3/3 v5] KVM: Add a new VM statistic to show number of VCPUs

 arch/arm64/include/asm/kvm_host.h   |  1 +
 arch/arm64/kvm/guest.c              |  1 +
 arch/mips/include/asm/kvm_host.h    |  1 +
 arch/mips/kvm/mips.c                |  1 +
 arch/powerpc/include/asm/kvm_host.h |  1 +
 arch/powerpc/kvm/book3s.c           |  1 +
 arch/s390/include/asm/kvm_host.h    |  1 +
 arch/s390/kvm/kvm-s390.c            |  1 +
 arch/x86/include/asm/kvm_host.h     |  4 +++-
 arch/x86/kvm/debugfs.c              | 11 +++++++++++
 arch/x86/kvm/kvm_cache_regs.h       |  3 +++
 arch/x86/kvm/svm/nested.c           |  2 --
 arch/x86/kvm/svm/svm.c              |  6 ++++++
 arch/x86/kvm/vmx/nested.c           |  2 --
 arch/x86/kvm/vmx/vmx.c              | 13 ++++++++++++-
 arch/x86/kvm/x86.c                  |  4 +++-
 virt/kvm/kvm_main.c                 |  2 ++
 17 files changed, 48 insertions(+), 7 deletions(-)

Krish Sadhukhan (3):
KVM: nVMX: nSVM: 'nested_run' should count guest-entry attempts that make it to guest code
KVM: nVMX: nSVM: Add a new VCPU statistic to show if VCPU is in guest mode
KVM: Add a new VM statistic to show number of VCPUs created in a given VM