kvm: Support for querying fd-based stats

Add support for querying fd-based KVM stats - as introduced by Linux kernel
commit:

cb082bfab59a ("KVM: stats: Add fd-based API to read binary stats data")

This allows the user to analyze the behavior of the VM without access
to debugfs.

Signed-off-by: Mark Kanda <mark.kanda@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Mark Kanda 2022-02-15 09:04:33 -06:00 committed by Paolo Bonzini
parent b9f88dc071
commit cc01a3f4ca
2 changed files with 393 additions and 1 deletions

View file

@ -52,7 +52,7 @@
# Since: 7.1
##
{ 'enum': 'StatsProvider',
'data': [ ] }
'data': [ 'kvm' ] }
##
# @StatsTarget: