[libvirt-users] virDomainMemoryStats missing counters ...

Michal Privoznik mprivozn at redhat.com
Mon Nov 2 13:51:22 UTC 2015


On 02.11.2015 14:45, Jean-Pierre Ribeauville wrote:
> Hi,
> 
> Thx for answer .
> 
> By using these releases ,
> 
> 
> 
> libvirt-gconfig-0.1.7-3.el7.x86_64
> libvirt-daemon-config-nwfilter-1.2.8-16.el7_1.3.x86_64
> libvirt-daemon-1.2.8-16.el7_1.3.x86_64
> libvirt-daemon-driver-storage-1.2.8-16.el7_1.3.x86_64
> libvirt-daemon-driver-network-1.2.8-16.el7_1.3.x86_64
> libvirt-daemon-driver-qemu-1.2.8-16.el7_1.3.x86_64
> libvirt-daemon-driver-secret-1.2.8-16.el7_1.3.x86_64
> libvirt-1.2.8-16.el7_1.3.x86_64
> libvirt-daemon-driver-nwfilter-1.2.8-16.el7_1.3.x86_64
> libvirt-daemon-driver-lxc-1.2.8-16.el7_1.3.x86_64
> libvirt-docs-1.2.8-16.el7_1.3.x86_64
> libvirt-python-1.2.8-7.el7.x86_64
> libvirt-gobject-0.1.7-3.el7.x86_64
> libvirt-glib-0.1.7-3.el7.x86_64
> libvirt-client-1.2.8-16.el7_1.3.x86_64
> libvirt-daemon-driver-nodedev-1.2.8-16.el7_1.3.x86_64
> libvirt-devel-1.2.8-16.el7_1.3.x86_64
> libvirt-daemon-kvm-1.2.8-16.el7_1.3.x86_64
> libvirt-daemon-config-network-1.2.8-16.el7_1.3.x86_64
> libvirt-daemon-driver-interface-1.2.8-16.el7_1.3.x86_64
> 
> 
>  I got 3 tags as returned by   virDomainMemoryStats ()
> 
> 0  --> VIR_DOMAIN_MEMORY_STAT_SWAP_IN
> 6 --> VIR_DOMAIN_MEMORY_STAT_ACTUAL_BALLOON
> 7 --> VIR_DOMAIN_MEMORY_STAT_RSS
> 
> 
> Does it mean that other values don't exist or are null ?

They don't exist. Whether a value exists or not depends on qemu - that's
where libvirt gets the data in the first place.

Michal




More information about the libvirt-users mailing list