mbox series

[0/3,v5] KVM: nVMX: nSVM: Add more statistics to KVM debugfs

Message ID 20210611190149.107601-1-krish.sadhukhan@oracle.com (mailing list archive)
Headers show
Series KVM: nVMX: nSVM: Add more statistics to KVM debugfs | expand

Message

Krish Sadhukhan June 11, 2021, 7:01 p.m. UTC
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