[CRIU] [PATCH 1/4] cg: Add ability to dump custom cgroup properties
Cyrill Gorcunov
gorcunov at gmail.com
Fri May 6 08:14:43 PDT 2016
On Fri, May 06, 2016 at 06:01:05PM +0300, Pavel Emelyanov wrote:
>
> Hm... Actually the plan was to simplify this and let people update cgroups.yaml
> by hands if they need it w/o the need to recompile criu binary.
They can do it even without our "default" file -- just pass --cgrop-props-file
with "replace" strategy and that's all. IOW, we can do even better
- leave built-in props are they are
- try read "cgroups.yaml" assuming it will replace built-in rules
if present
- finally handle --cgroups-props[-file]
>
> How do you do it in LX[CD]? Do you have any defaults for containers' cgroups
> and, if yes, where do you keep them? Directly in the code?
>
> > Plus it
> > will complicate development :). I don't mind doing it if you guys
> > think it is needed, though.
More information about the CRIU
mailing list