[libvirt] [PATCH 2/2] qemu: expand domain memory statistics with 'last-update' timestamp

Dmitry Derbyshev dderbyshev at virtuozzo.com
Tue May 31 16:55:00 UTC 2016


pls ignore, merged incorrectly


5/31/2016 7:21 PM, Derbyshev Dmitriy пишет:
> diff --git a/include/libvirt/libvirt-domain.h b/include/libvirt/libvirt-domain.h
> index b65dd33..002253f 100644
> --- a/include/libvirt/libvirt-domain.h
> +++ b/include/libvirt/libvirt-domain.h
> @@ -603,6 +603,10 @@ typedef enum {
>        * is in kB */
>       VIR_DOMAIN_MEMORY_STAT_RSS             = 7,
>   
> +
> +    /* Timestamp of the last update of statistics */
> +    VIR_DOMAIN_MEMORY_STAT_LAST_UPDATE     = 8,
> +
should be 9 and come after "usable"
>       /*
>        * How big the balloon can be inflated without pushing the guest system
>        * to swap, corresponds to 'Available' in /proc/meminfo
>




More information about the libvir-list mailing list