]> xenbits.xensource.com Git - libvirt.git/commitdiff
virConnectGetAllDomainStats: Document two vcpu stats
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 29 Jun 2020 12:55:54 +0000 (14:55 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 3 Jul 2020 16:39:18 +0000 (18:39 +0200)
When introducing vcpu.<num>.wait (v1.3.2-rc1~301) and
vcpu.<num>.halted (v2.4.0-rc1~36) the documentation was
not written.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
src/libvirt-domain.c

index 60b5e65fc3ef1ad428b6896fbde3f21dcc0bc32e..52ce3ef79844f3697d36602a09b47d3e2fa0501b 100644 (file)
@@ -11493,6 +11493,11 @@ virConnectGetDomainCapabilities(virConnectPtr conn,
  *                          from virVcpuState enum.
  *     "vcpu.<num>.time" - virtual cpu time spent by virtual CPU <num>
  *                         as unsigned long long.
+ *     "vcpu.<num>.wait" - time the vCPU <num> wants to run, but the host
+ *                         scheduler has something else running ahead of it.
+ *     "vcpu.<num>.halted" - virtual CPU <num> is halted, may indicate the
+ *                           processor is idle or even disabled, depending
+ *                           on the architecture)
  *
  * VIR_DOMAIN_STATS_INTERFACE:
  *     Return network interface statistics (from domain point of view).