<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
</blockquote>
<br></div>
when use libvirt0.9.4 ,then memStats() just output a '{ }'.<br>
</blockquote>
<br>
Generally, it means your qemu returns empty result for<br>
monitor command query-balloon. Could you check the debug<br>
log to find out what the qemu monitor command returns<br>
actually?<br><br></blockquote><div>libvirt > 0.9.4  memStats() can get  the memory stats,but it seems that the value does not match guest memory usage:</div><div>virsh # version </div><div>Compiled against library: libvir 0.9.11</div>

<div>Using library: libvir 0.9.11</div><div>Using API: QEMU 0.9.11</div><div>Running hypervisor: QEMU 1.0.94</div><div><br></div><div>virsh # dommemstat centos</div><div>actual 524288</div><div>rss 276252</div><div><br></div>

<div>while in the 'centos' guest:</div><div> [root@centos-guest ~]# free -k</div><div>             total       used       free     shared    buffers     cached</div><div>Mem:        511148      84784     426364          0       5708      32664</div>

<div>-/+ buffers/cache:      46412     464736</div><div>Swap:      2064376          0    2064376</div><div><br></div><div>what does the 'rss'  mean?  thanks.</div></div><br>