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.