summaryrefslogtreecommitdiffstats
path: root/lib/string.c
diff options
context:
space:
mode:
authorJing Zhang <jingzhangos@google.com>2021-06-19 00:27:05 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2021-06-25 00:00:10 +0200
commitfcfe1baeddbf1c7c448b44c82586d0cbc8abc9f5 (patch)
tree1d7b6b70c649bbfbb2ada937a4dcec2b8558625c /lib/string.c
parentKVM: stats: Add fd-based API to read binary stats data (diff)
downloadlinux-fcfe1baeddbf1c7c448b44c82586d0cbc8abc9f5.tar.xz
linux-fcfe1baeddbf1c7c448b44c82586d0cbc8abc9f5.zip
KVM: stats: Support binary stats retrieval for a VM
Add a VM ioctl to get a statistics file descriptor by which a read functionality is provided for userspace to read out VM stats header, descriptors and data. Define VM 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-4-jingzhangos@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions