Red Hat Bugzilla – Bug 878425
virt-manager: use virDomainMemoryStats for memory graph
Last modified: 2014-01-15 04:06:24 EST
Description of problem:
When viewing the virt-manager gui's machine info page and the performance overview on that it does show statistics of the host system for memory and cpu load.
This is not what I as a user expect when viewing that data at that place as the GUI strongly suggests that this is data about that selected VM.
Version-Release number of selected component (if applicable):
1. Open a Machine
2. go to the Details tab
3. select the Performance entry from the sidebar on the left
4. look at the data
Shows data from the host system
Should show data about / from the guest system
Took me about half a year to figure that out while casually glancing at this screen now and then to understand how my vms are doing. All the while I missed a serious out of memory situation on one of our vms due to this missunderstanding - that would have been very easy to spot had the info been what I expected it to be.
Agreed, fixing this would be a very nice enhancement to virt-manager.
Applied Tadej's patch upstream.
However in response to comment 1, those graphs still don't show memory usage from inside the guest, that's a more involved fix which requires using newer libvirt APIs. Moving this bug to the upstream tracker for that bit.
True memory usage graphing is upstream now
Thats great! :-)