提交 b7dd3d9b 编写于 作者: P Peter Krempa

lib: De-duplicate stats group documentation for all stats functions

State that full stats for the stats groups are available in the
virConnectGetAllDomainStats documentation section rather than
duplicating the docs.
上级 1db47565
...@@ -21734,14 +21734,8 @@ virConnectGetAllDomainStats(virConnectPtr conn, ...@@ -21734,14 +21734,8 @@ virConnectGetAllDomainStats(virConnectPtr conn,
* followed by a group specific description of the statistic value. * followed by a group specific description of the statistic value.
* *
* The statistic groups are enabled using the @stats parameter which is a * The statistic groups are enabled using the @stats parameter which is a
* binary-OR of enum virDomainStatsTypes. The following groups are available * binary-OR of enum virDomainStatsTypes. The stats groups are documented
* (although not necessarily implemented for each hypervisor): * in virConnectGetAllDomainStats.
*
* VIR_DOMAIN_STATS_STATE: Return domain state and reason for entering that
* state. The typed parameter keys are in this format:
* "state.state" - state of the VM, returned as int from virDomainState enum
* "state.reason" - reason for entering given state, returned as int from
* virDomain*Reason enum corresponding to given state.
* *
* Using 0 for @stats returns all stats groups supported by the given * Using 0 for @stats returns all stats groups supported by the given
* hypervisor. * hypervisor.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册