[libvirt] [PATCH] Don't fail lxc domain start when memory controller support is missing

Guido Günther agx at sigxcpu.org
Fri Oct 15 08:15:02 UTC 2010


Hi,
starting of lxc domains currently fails if memory controller support is
disabled in the kernel. Attached patch fixes this by ignoring the error
in case the files don't exist in the cgroup filesystem. I didn't add the
same exceptions for the recent hard and soft limit code since if somebody
sets this values he probably wants them enforced. O.k. to apply?
Cheers,
 -- Guido
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Don-t-fail-lxc-domain-start-when-memory-controller-s.patch
Type: text/x-diff
Size: 2232 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20101015/b3015c2f/attachment-0001.bin>


More information about the libvir-list mailing list