vzctl set: add NUMA --nodemask
This patch adds an ability to specify NUMA node mask for a container,
i.e. set on which NUMA nodes the given container will be executed.
In addition, it extends --cpumask to have a special value of auto,
which means "all CPUs within given NUMA node(s)".
vzctl --help, vzctl(8) man page and bash-completion modified
accordingly.
Note that
* this only works for openvz kernels (openvz fairsched syscalls)
* option --nodemask requires --cpumask (in the same command line)
* --cpumask auto doesn't make sense without --nodemask
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
10 files changed