linux/Documentation/virt
Paolo Bonzini 1b870fa557 kvm: stats: tell userspace which values are boolean
Some of the statistics values exported by KVM are always only 0 or 1.
It can be useful to export this fact to userspace so that it can track
them specially (for example by polling the value every now and then to
compute a % of time spent in a specific state).

Therefore, add "boolean value" as a new "unit".  While it is not exactly
a unit, it walks and quacks like one.  In particular, using the type
would be wrong because boolean values could be instantaneous or peak
values (e.g. "is the rmap allocated?") or even two-bucket histograms
(e.g. "number of posted vs. non-posted interrupt injections").

Suggested-by: Amneesh Singh <natto@weirdnatto.in>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-07-14 08:01:59 -04:00
..
acrn docs: acrn: Introduce ACRN 2021-02-09 10:58:18 +01:00
coco virt: sevguest: Rename the sevguest dir and files to sev-guest 2022-04-27 13:29:56 +02:00
kvm kvm: stats: tell userspace which values are boolean 2022-07-14 08:01:59 -04:00
uml docs: UML: Mention telnetd for port channel 2022-03-11 13:51:03 -07:00
guest-halt-polling.rst
index.rst virt: sevguest: Rename the sevguest dir and files to sev-guest 2022-04-27 13:29:56 +02:00
ne_overview.rst nitro_enclaves: Update documentation for Arm64 support 2021-09-14 11:11:20 +02:00
paravirt_ops.rst