• M
    qemu: leave restricting cpuset.mems after initialization · 7e72ac78
    Martin Kletzander 提交于
    When domain is started with numatune memory mode strict and the
    nodeset does not include host NUMA node with DMA and DMA32 zones, KVM
    initialization fails.  This is because cgroup restrict even kernel
    allocations.  We are already doing numa_set_membind() which does the
    same thing, only it does not restrict kernel allocations.
    
    This patch leaves the userspace numa_set_membind() in place and moves
    the cpuset.mems setting after the point where monitor comes up, but
    before vcpu and emulator sub-groups are created.
    Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
    7e72ac78
qemu_cgroup.h 2.6 KB