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

Guido Günther agx at sigxcpu.org
Fri Oct 15 16:05:10 UTC 2010


On Fri, Oct 15, 2010 at 10:15:02AM +0200, Guido Günther wrote:
> 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?
In fact I missed one hunk. Here's a better patch with some commnents.
 -- 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: 2490 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20101015/fda69bb9/attachment-0001.bin>


More information about the libvir-list mailing list