[libvirt] virDomainMemoryStats call

Navin P navin.parakkal at hp.com
Wed Jul 18 09:34:11 UTC 2012


+++ Osier Yang [18/07/12 16:13 +0800]:
>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.
>

Is that only for the VIR_DOMAIN_MEMORY_STAT_ACTUAL_BALLOON or for all the
counters ? Should i ask about the monitor command query-balloon on the qemu
list ? Do you have details of the critical bug ?



>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