[PATCH 3/3] NEWS: Add the stats VIR_DOMAIN_STATS_VM of virConnectGetAllDomainStats

Peter Krempa pkrempa at redhat.com
Tue Nov 1 10:36:19 UTC 2022


On Tue, Nov 01, 2022 at 13:49:12 +0800, Han Han wrote:
> Signed-off-by: Han Han <hhan at redhat.com>
> ---
>  NEWS.rst | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/NEWS.rst b/NEWS.rst
> index 7b856f4d3f..06fd4fa84f 100644
> --- a/NEWS.rst
> +++ b/NEWS.rst
> @@ -41,6 +41,12 @@ v8.9.0 (unreleased)
>  
>  * **Improvements**
>  
> +  * qemu: Add the stats of VM for virConnectGetAllDomainStats
> +
> +    The stats ``VIR_DOMAIN_STATS_VM`` of virConnectGetAllDomainStats is to
> +    get the fd-based KVM statistics for the target VM. It could be used by
> +    the command line ``virsh domstats --vm``
> +

I'll word this as:

+  * qemu: Add hypervisor-specific statistics to ``virConnectGetAllDomainStats``
+
+    The new stats group ``VIR_DOMAIN_STATS_VM`` of
+    ``virConnectGetAllDomainStats``, also exposed as ``virsh domstats --vm``,
+    returns hypervisor-specific stats fields for given VM.
+

once my patch adding the docs for the new group is applied.


More information about the libvir-list mailing list