[libvirt-users] Memory statistics for a domain

Szczerbik, PrzemyslawX przemyslawx.szczerbik at intel.com
Wed Mar 22 13:49:38 UTC 2017


Hi,

I'm wondering whether there is any difference between VIR_DOMAIN_MEMORY_STAT_ACTUAL_BALLOON and 'memory' member from virDomainInfo structure.
Based on the documentation those values should correspond to current balloon and memory used by the domain respectively.
Is it always the case that those values will be equal?

Is there a reason why maximum memory allowed ('maxMem' from virDomainInfo structure) cannot be retrieved from virDomainMemoryStats API?
It seems that it's required to call 2 different APIs to get all memory metrics for a domain.

Regards,
Przemek



--------------------------------------------------------------
Intel Research and Development Ireland Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263


This e-mail and any attachments may contain confidential material for the sole
use of the intended recipient(s). Any review or distribution by others is
strictly prohibited. If you are not the intended recipient, please contact the
sender and delete all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20170322/4c0884fa/attachment.htm>


More information about the libvirt-users mailing list