• B
    qemu: fix internal error: NUMA isn't available on this host · b178fa8e
    Boris Fiuczynski 提交于
    If libvirt is compiled without NUMACTL support starting libvirtd
    reports a libvirt internal error "NUMA isn't available on this host"
    without checking if NUMA support is compiled into the libvirt binaries.
    This patch adds the missing NUMA support check to prevent the internal error.
    It also includes a check if the cgroup controller cpuset is available before
    using it.
    
    The error was noticed when libvirtd was restarted with running domains and
    on libvirtd start the qemuConnectCgroup gets called during qemuProcessReconnect.
    Signed-off-by: NBoris Fiuczynski <fiuczy@linux.vnet.ibm.com>
    Reviewed-by: NBjoern Walk <bwalk@linux.vnet.ibm.com>
    b178fa8e
qemu_cgroup.c 39.0 KB