]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: process: Don't put memoryless NUMA nodes into autoNodeset
authorPeter Krempa <pkrempa@redhat.com>
Wed, 12 Jul 2017 11:59:35 +0000 (13:59 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 20 Jul 2017 14:14:50 +0000 (16:14 +0200)
commite04d1074f801a211e2767545e2816cc98d820dd3
tree2fbf36f18490a19aa2f0e689a75cba3be7cf2879
parent9f3e65fc7a9432804acc077a39a243a056283423
qemu: process: Don't put memoryless NUMA nodes into autoNodeset

'numad' may return a nodeset which contains NUMA nodes without memory
for certain configurations. Since cgroups code will not be happy using
nodes without memory we need to store only numa nodes with memory in
autoNodeset.

On the other hand autoCpuset should contain cpus also for nodes which
do not have any memory.
src/qemu/qemu_process.c