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

Eric Blake eblake at redhat.com
Mon Sep 15 16:57:31 UTC 2014


On 09/15/2014 09:42 AM, Peter Krempa wrote:
> 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.

s/along with //

ACK with that simplification.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 539 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140915/6d0bfe24/attachment-0001.sig>


More information about the libvir-list mailing list