Jing Zhang ce55c04945 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>
2021-06-24 18:00:19 -04:00
..
2021-03-10 15:18:48 +01:00
2021-03-10 15:18:48 +01:00
2016-07-05 16:09:11 +02:00
2021-03-10 15:18:48 +01:00
2021-03-10 15:18:48 +01:00
2021-03-10 15:18:48 +01:00
2021-05-01 10:14:08 -07:00
2015-03-27 21:25:19 +00:00
2021-03-10 15:18:48 +01:00
2017-03-28 14:54:00 +01:00
2021-05-01 10:14:08 -07:00