OSDN Git Service

kvm: Support for querying fd-based stats
authorMark Kanda <mark.kanda@oracle.com>
Tue, 15 Feb 2022 15:04:33 +0000 (09:04 -0600)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 14 Jun 2022 14:50:30 +0000 (16:50 +0200)
commitcc01a3f4cadd91e63c4ebf9774069321afd8a4e0
tree646d04e5f53bad394f92390f39295e691698b94d
parentb9f88dc0715a6b47afc4b06d569d1d693cdb6fc6
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>
accel/kvm/kvm-all.c
qapi/stats.json