docs: Clarify values reported by virDomainMemoryStats()

I was approached by a KubeVirt developer to clarify what value
does VIR_DOMAIN_MEMORY_STAT_DISK_CACHES report, whether it's from
the guest or the host POV. And since I didn't know the answer
even after reading the docs I think we can do better. Clarify the
POV then.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
Michal Privoznik 2023-05-24 10:53:03 +02:00
parent 6a15e22265
commit a8c983d0fa

View File

@ -709,7 +709,8 @@ typedef virDomainInterfaceStatsStruct *virDomainInterfaceStatsPtr;
/**
* virDomainMemoryStatTags:
*
* Memory Statistics Tags:
* These represent values from inside of the guest (e.g. the same value would
* be read from '/proc/meminfo' and/or other files from inside the guest).
*
* Since: 0.7.5
*/