[libvirt] virDomainMemoryStats call

Osier Yang jyang at redhat.com
Wed Jul 18 08:13:29 UTC 2012


On 2012年07月18日 15:00, Parakkal, Navin S wrote:
> Hi,
>
> I’m using the API virDomainMemoryStats to fetch memory stats for a
> domain/guest on Fedora 16/RHEL 6.3 . I don’t get these counters filled up
>
> VIR_DOMAIN_MEMORY_STAT_UNUSED,
> VIR_DOMAIN_MEMORY_STAT_ACTUAL_BALLOON,VIR_DOMAIN_MEMORY_STAT_AVAILABLE ,
> VIR_DOMAIN_MEMORY_STAT_MAJOR_FAULT and
> VIR_DOMAIN_MEMORY_STAT_MINOR_FAULT.

These fields are supported by libvirt, but unfortunately qemu has
disabled them for monitor command query-ballon for a critical bug,
it has been for a long time. I'm not clear about how the current
status is, though I guess it's still not enabled.

The version of libvirt 0.9.11 on
> Fedora 16 . How to get all the counters filled up ? Should I take a
> specific version of qemu or should I do some config settings so that
> these values are filled up ?
>
> P.S. Please copy me in reply
>
> Regards,
>
> Navin Parakkal
>
> HP Software
>
>
>
> --
> libvir-list mailing list
> libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list




More information about the libvir-list mailing list