lib: clarify docs for hugetlb in virDomainMemoryStatTags

The term number is used for other stats and even for hugetlb
stats in virsh man page. The term number is also more clear.

Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Nikolay Shirokovskiy 2020-07-21 11:07:19 +03:00 committed by Michal Privoznik
parent 1ae53c027b
commit 188a71c8eb
2 changed files with 4 additions and 4 deletions

View File

@ -637,13 +637,13 @@ typedef enum {
VIR_DOMAIN_MEMORY_STAT_DISK_CACHES = 10,
/*
* The amount of successful huge page allocations from inside the domain via
* The number of successful huge page allocations from inside the domain via
* virtio balloon.
*/
VIR_DOMAIN_MEMORY_STAT_HUGETLB_PGALLOC = 11,
/*
* The amount of failed huge page allocations from inside the domain via
* The number of failed huge page allocations from inside the domain via
* virtio balloon.
*/
VIR_DOMAIN_MEMORY_STAT_HUGETLB_PGFAIL = 12,

View File

@ -5725,9 +5725,9 @@ virDomainGetInterfaceParameters(virDomainPtr domain,
* Memory that can be reclaimed without additional I/O, typically disk
* caches (in kb).
* VIR_DOMAIN_MEMORY_STAT_HUGETLB_PGALLOC
* The amount of successful huge page allocations from inside the domain
* The number of successful huge page allocations from inside the domain
* VIR_DOMAIN_MEMORY_STAT_HUGETLB_PGFAIL
* The amount of failed huge page allocations from inside the domain
* The number of failed huge page allocations from inside the domain
*
* Returns: The number of stats provided or -1 in case of failure.
*/