|
|
9119d9 |
From b6aae3a914d9841ed97d3ea6ab9322c40ea5c684 Mon Sep 17 00:00:00 2001
|
|
|
9119d9 |
Message-Id: <b6aae3a914d9841ed97d3ea6ab9322c40ea5c684@dist-git>
|
|
|
9119d9 |
From: Peter Krempa <pkrempa@redhat.com>
|
|
|
9119d9 |
Date: Wed, 1 Oct 2014 11:20:18 +0200
|
|
|
9119d9 |
Subject: [PATCH] lib: De-duplicate stats group documentation for all stats
|
|
|
9119d9 |
functions
|
|
|
9119d9 |
|
|
|
9119d9 |
https://bugzilla.redhat.com/show_bug.cgi?id=1113116
|
|
|
9119d9 |
|
|
|
9119d9 |
State that full stats for the stats groups are available in the
|
|
|
9119d9 |
virConnectGetAllDomainStats documentation section rather than
|
|
|
9119d9 |
duplicating the docs.
|
|
|
9119d9 |
|
|
|
9119d9 |
(cherry picked from commit b7dd3d9b46d3f0cbc22a637e30d932f94dc44a11)
|
|
|
9119d9 |
|
|
|
9119d9 |
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
|
|
|
9119d9 |
---
|
|
|
9119d9 |
src/libvirt.c | 10 ++--------
|
|
|
9119d9 |
1 file changed, 2 insertions(+), 8 deletions(-)
|
|
|
9119d9 |
|
|
|
9119d9 |
diff --git a/src/libvirt.c b/src/libvirt.c
|
|
|
9119d9 |
index f62ecf7..d6aee93 100644
|
|
|
9119d9 |
--- a/src/libvirt.c
|
|
|
9119d9 |
+++ b/src/libvirt.c
|
|
|
9119d9 |
@@ -21693,14 +21693,8 @@ virConnectGetAllDomainStats(virConnectPtr conn,
|
|
|
9119d9 |
* followed by a group specific description of the statistic value.
|
|
|
9119d9 |
*
|
|
|
9119d9 |
* The statistic groups are enabled using the @stats parameter which is a
|
|
|
9119d9 |
- * binary-OR of enum virDomainStatsTypes. The following groups are available
|
|
|
9119d9 |
- * (although not necessarily implemented for each hypervisor):
|
|
|
9119d9 |
- *
|
|
|
9119d9 |
- * VIR_DOMAIN_STATS_STATE: Return domain state and reason for entering that
|
|
|
9119d9 |
- * state. The typed parameter keys are in this format:
|
|
|
9119d9 |
- * "state.state" - state of the VM, returned as int from virDomainState enum
|
|
|
9119d9 |
- * "state.reason" - reason for entering given state, returned as int from
|
|
|
9119d9 |
- * virDomain*Reason enum corresponding to given state.
|
|
|
9119d9 |
+ * binary-OR of enum virDomainStatsTypes. The stats groups are documented
|
|
|
9119d9 |
+ * in virConnectGetAllDomainStats.
|
|
|
9119d9 |
*
|
|
|
9119d9 |
* Using 0 for @stats returns all stats groups supported by the given
|
|
|
9119d9 |
* hypervisor.
|
|
|
9119d9 |
--
|
|
|
9119d9 |
2.1.2
|
|
|
9119d9 |
|