summary refs log tree commit diff stats
path: root/qapi/stats.json
diff options
context:
space:
mode:
authorMark Kanda <mark.kanda@oracle.com>2022-02-15 09:04:33 -0600
committerPaolo Bonzini <pbonzini@redhat.com>2022-06-14 16:50:30 +0200
commitcc01a3f4cadd91e63c4ebf9774069321afd8a4e0 (patch)
tree646d04e5f53bad394f92390f39295e691698b94d /qapi/stats.json
parentb9f88dc0715a6b47afc4b06d569d1d693cdb6fc6 (diff)
downloadfocaccia-qemu-cc01a3f4cadd91e63c4ebf9774069321afd8a4e0.tar.gz
focaccia-qemu-cc01a3f4cadd91e63c4ebf9774069321afd8a4e0.zip
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>
Diffstat (limited to 'qapi/stats.json')
-rw-r--r--qapi/stats.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/qapi/stats.json b/qapi/stats.json
index ada0fbf26f..df7c4d886c 100644
--- a/qapi/stats.json
+++ b/qapi/stats.json
@@ -52,7 +52,7 @@
 # Since: 7.1
 ##
 { 'enum': 'StatsProvider',
-  'data': [ ] }
+  'data': [ 'kvm' ] }
 
 ##
 # @StatsTarget: