• M
    qemuSetupMemoryCgroup: Handle hard_limit properly · 94a24dd3
    Michal Privoznik 提交于
    Since 16bcb3 we have a regression. The hard_limit is set
    unconditionally. By default the limit is zero. Hence, if user hasn't
    configured any, we set the zero in cgroup subsystem making the kernel
    kill the corresponding qemu process immediately. The proper fix is to
    set hard_limit iff user has configured any.
    94a24dd3
qemu_cgroup.c 28.8 KB