[libvirt] New libvirt API for domain memory statistics reporting (V3)

Thomas Treutner thomas at scripty.at
Wed Dec 23 14:25:42 UTC 2009

Hi Adam,

thanks for your efforts, for me such an API would be very helpful. 

I tried to use it by applying this patch


against vanilla and using latest libvirt from git, but when I do

$ virsh dommemstat mydomain

I just get an empty line of output, no error message, nothing. Ballooning 
works fine, but as I said, no statistics output. I'm also using virtio for 
net and blk - did I miss something (additional entry in the dom-config?) or 
is there something going wrong?

I'm using qemu-kvm-0.11.0 currently, -0.12 is not working for me. Could that 
be the cause?

Thanks for any directions,


More information about the libvir-list mailing list