numa: Rename virNumaGetHostNodeset and make it return only nodes with memory
Name it virNumaGetHostMemoryNodeset and return only NUMA nodes which
have memory installed. This is necessary as the kernel is not very happy
to set the memory cgroup setting for nodes which do not have any memory.
This would break vcpu hotplug with following message on such
configruation:
Invalid value '0,8' for 'cpuset.mems': Invalid argument
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1375268
------- Comment From <email address hidden> 2017-08-10 09:35 EDT-------
From Nitesh:
------- ------- ------- ------- -
The following commit resolves the issue:
commit 77cb01bc0fec4d0 da02e1d4df75d28 870b0ef926
Author: Peter Krempa <email address hidden>
Date: Tue Sep 13 15:55:06 2016 +0200
numa: Rename virNumaGetHostN odeset and make it return only nodes with memory emoryNodeset and return only NUMA nodes which /bugzilla. redhat. com/show_ bug.cgi? id=1375268
Name it virNumaGetHostM
have memory installed. This is necessary as the kernel is not very happy
to set the memory cgroup setting for nodes which do not have any memory.
This would break vcpu hotplug with following message on such
configruation:
Invalid value '0,8' for 'cpuset.mems': Invalid argument
Resolves: https:/