[libvirt] [PATCHv6 09/11] lib: De-duplicate stats group documentation for all stats functions

Peter Krempa pkrempa at redhat.com
Mon Sep 15 15:42:53 UTC 2014


State that full stats for the stats groups are available in the
virConnectGetAllDomainStats documentation section rather than
duplicating the docs.
---
 src/libvirt.c | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/src/libvirt.c b/src/libvirt.c
index a8892a2..03f7e5b 100644
--- a/src/libvirt.c
+++ b/src/libvirt.c
@@ -21734,14 +21734,8 @@ virConnectGetAllDomainStats(virConnectPtr conn,
  * followed by a group specific description of the statistic value.
  *
  * The statistic groups are enabled using the @stats parameter which is a
- * binary-OR of enum virDomainStatsTypes. The following groups are available
- * (although not necessarily implemented for each hypervisor):
- *
- * 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.
+ * binary-OR of enum virDomainStatsTypes. The stats groups are documented
+ * in along with virConnectGetAllDomainStats.
  *
  * Using 0 for @stats returns all stats groups supported by the given
  * hypervisor.
-- 
2.1.0




More information about the libvir-list mailing list