On 07/03/2014 08:46 AM, Gleb Voronich wrote:
> virDomainMemoryStats() gets those stats, if qemu is new enough to
> provide them, and if the guest cooperates to provide them.
Well I use the latest QEMU 2.0.0
I have the latest CentOS 6.5 installed on the guest and unfortunately I
can't get more stats that I have.
Then your problem is your libvirt is too old. It is the combination of
qemu new enough to provide stats (qemu 1.4; probably not present in the
qemu shipped in CentOS, but present in your self-built 2.0) and libvirt
new enough to read stats (v1.1.1 or newer; which is in RHEL 7.0, but not
backported to the libvirt 0.10.2 of RHEL 6.5, and therefore not in your
CentOS setup).
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org