On 07/03/2014 08:39 AM, Claudio Bley wrote:> At Thu, 03 Jul 2014 17:32:20 +0300,
> Gleb Voronich wrote:
>>
>>
>>> Actually, you should get more stats when using the virtio balloon
>>> driver in your guests.
>> I use the balloon but I can't get more stats.
>> I use python binding for libvirt and as far as I can see it calls
>> virDomainMemoryStats exactly.
>
> Which OS are you using in your guests?
>
> Of course, you need to have the virtio balloon driver up and runnig in
> your guests.
You also have to have new enough qemu that reports stats without
blocking (qemu 0.14 or newer added stat reporting via qom-get, since the
older query-balloon interface blocks) and libvirt that knows how to read
stats via qom-get (libvirt 1.1.1 or newer).
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org