diff options
| author | Jing Zhang <jingzhangos@google.com> | 2021-06-18 22:27:06 +0000 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-06-24 18:00:19 -0400 |
| commit | ce55c049459cff0034cc1bcfdce3bf343a2d6317 (patch) | |
| tree | cd3edc030d355ea7d871220124e25e8c60885f0a /tools/testing/selftests/kvm/lib/kvm_util.c | |
| parent | KVM: stats: Support binary stats retrieval for a VM (diff) | |
| download | linux-ce55c049459cff0034cc1bcfdce3bf343a2d6317.tar.gz linux-ce55c049459cff0034cc1bcfdce3bf343a2d6317.zip | |
KVM: stats: Support binary stats retrieval for a VCPU
Add a VCPU ioctl to get a statistics file descriptor by which a read
functionality is provided for userspace to read out VCPU stats header,
descriptors and data.
Define VCPU statistics descriptors and header for all architectures.
Reviewed-by: David Matlack <dmatlack@google.com>
Reviewed-by: Ricardo Koller <ricarkol@google.com>
Reviewed-by: Krish Sadhukhan <krish.sadhukhan@oracle.com>
Reviewed-by: Fuad Tabba <tabba@google.com>
Tested-by: Fuad Tabba <tabba@google.com> #arm64
Signed-off-by: Jing Zhang <jingzhangos@google.com>
Message-Id: <20210618222709.1858088-5-jingzhangos@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/kvm_util.c')
0 files changed, 0 insertions, 0 deletions
