[PATCH 2/5] include: clarify docs for hugetlb in virDomainMemoryStatTags

Nikolay Shirokovskiy nshirokovskiy at virtuozzo.com
Tue Jul 21 08:07:19 UTC 2020


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 at virtuozzo.com>
---
 include/libvirt/libvirt-domain.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/libvirt/libvirt-domain.h b/include/libvirt/libvirt-domain.h
index f129e6a..8b9d9c1 100644
--- a/include/libvirt/libvirt-domain.h
+++ b/include/libvirt/libvirt-domain.h
@@ -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,
-- 
1.8.3.1




More information about the libvir-list mailing list