[libvirt] [libvirt-python PATCH 1/1] Change the comment in getPyNodeCPUCount method reflecting correct called methods

Pradipta Kr. Banerjee pradipta.banerjee at gmail.com
Wed Oct 15 13:54:27 UTC 2014


Comment mentions virGetNodeCPUMap whereas the actual method is
virNodeGetCPUMap. Similarly comment mentions virGetNodeInfo whereas the actual
method is virNodeGetInfo

Signed-off-by: Pradipta Kr. Banerjee <bpradip at in.ibm.com>
---
 libvirt-override.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libvirt-override.c b/libvirt-override.c
index 8b3c503..9ba87eb 100644
--- a/libvirt-override.c
+++ b/libvirt-override.c
@@ -437,10 +437,10 @@ cleanup:
 
 /*
  * Utility function to retrieve the number of node CPUs present.
- * It first tries virGetNodeCPUMap, which will return the
+ * It first tries virNodeGetCPUMap, which will return the
  * number reliably, if available.
  * As a fallback and for compatibility with backlevel libvirt
- * versions virGetNodeInfo will be called to calculate the
+ * versions virNodeGetInfo will be called to calculate the
  * CPU number, which has the potential to return a too small
  * number if some host CPUs are offline.
  */
-- 
1.9.3




More information about the libvir-list mailing list