mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-18 10:35:20 +00:00
virnuma.c: Fix some comments
In 9dd02965 the virNumaGetNodeMemory was introduced, however the comment describing the function mentions virNumaGetNodeMemorySize. And there's one typo in virNumaIsAvailable() description. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
5a2bd4c917
commit
3dd23b6106
@ -193,7 +193,7 @@ virNumaIsAvailable(void)
|
|||||||
* Get the highest node number available on the current system.
|
* Get the highest node number available on the current system.
|
||||||
* (See the node numbers in /sys/devices/system/node/ ).
|
* (See the node numbers in /sys/devices/system/node/ ).
|
||||||
*
|
*
|
||||||
* Returns the highes NUMA node id on success, -1 on error.
|
* Returns the highest NUMA node id on success, -1 on error.
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
virNumaGetMaxNode(void)
|
virNumaGetMaxNode(void)
|
||||||
@ -217,7 +217,7 @@ virNumaGetMaxNode(void)
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* virNumaGetNodeMemorySize:
|
* virNumaGetNodeMemory:
|
||||||
* @node: identifier of the requested NUMA node
|
* @node: identifier of the requested NUMA node
|
||||||
* @memsize: returns the total size of memory in the NUMA node
|
* @memsize: returns the total size of memory in the NUMA node
|
||||||
* @memfree: returns the total free memory in a NUMA node
|
* @memfree: returns the total free memory in a NUMA node
|
||||||
|
Loading…
x
Reference in New Issue
Block a user