KVM: debugfs: Reuse binary stats descriptors
authorJing Zhang <jingzhangos@google.com>
Wed, 23 Jun 2021 21:28:46 +0000 (17:28 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 24 Jun 2021 22:00:29 +0000 (18:00 -0400)
commitbc9e9e672df9f16f3825320c53ec01b3d44add28
tree9213d444a791f6dbfcb47ba69af29eeccca8841b
parent0b45d58738cd67d8b63bf093bd56f2f57a00f642
KVM: debugfs: Reuse binary stats descriptors

To remove code duplication, use the binary stats descriptors in the
implementation of the debugfs interface for statistics. This unifies
the definition of statistics for the binary and debugfs interfaces.

Signed-off-by: Jing Zhang <jingzhangos@google.com>
Message-Id: <20210618222709.1858088-8-jingzhangos@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/arm64/kvm/guest.c
arch/mips/kvm/mips.c
arch/powerpc/kvm/book3s.c
arch/powerpc/kvm/booke.c
arch/s390/kvm/kvm-s390.c
arch/x86/kvm/x86.c
include/linux/kvm_host.h
virt/kvm/kvm_main.c