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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]