[CRIU] [PATCH] opts: add --manage-cgroups option
Pavel Emelyanov
xemul at parallels.com
Tue Aug 5 23:30:30 PDT 2014
On 08/05/2014 09:07 AM, Tycho Andersen wrote:
> criu managed cgroups is now an opt-in thing, so by default criu does not manage
> (i.e. dump or restore) cgroups. This allows users to preserve the
> previous behavior.
With this the zdtm's cgroup00 and cgroup01 both start to fail since
cgroups are not managed. You can specify options that should be passed
to criu dump/restore in per-test manner by putting them into $test.opts
files. E.g. look at test/zdtm/live/static/unlink_fstat03.opts
And one more thing:
> --- a/crtools.c
> +++ b/crtools.c
> @@ -167,6 +168,7 @@ int main(int argc, char *argv[])
> { "force-irmap", no_argument, 0, 58},
> { "ext-mount-map", required_argument, 0, 'M'},
> { "exec-cmd", no_argument, 0, 59},
> + { "manage-cgroups", no_argument, 0, 60},
Would you also add a line to the the --help message.
Thanks,
Pavel
More information about the CRIU
mailing list