Commit 9aea6610 by Stéphane Graber Committed by GitHub

Merge pull request #1062 from tych0/fully-manage-cgroups

c/r: use criu's "full" mode for cgroups
parents 4737d51a 0a5fc6df
...@@ -135,7 +135,7 @@ static void exec_criu(struct criu_opts *opts) ...@@ -135,7 +135,7 @@ static void exec_criu(struct criu_opts *opts)
/* The command line always looks like: /* The command line always looks like:
* criu $(action) --tcp-established --file-locks --link-remap \ * criu $(action) --tcp-established --file-locks --link-remap \
* --manage-cgroups action-script foo.sh -D $(directory) \ * --manage-cgroups=full action-script foo.sh -D $(directory) \
* -o $(directory)/$(action).log --ext-mount-map auto * -o $(directory)/$(action).log --ext-mount-map auto
* --enable-external-sharing --enable-external-masters * --enable-external-sharing --enable-external-masters
* --enable-fs hugetlbfs --enable-fs tracefs --ext-mount-map console:/dev/pts/n * --enable-fs hugetlbfs --enable-fs tracefs --ext-mount-map console:/dev/pts/n
...@@ -218,7 +218,7 @@ static void exec_criu(struct criu_opts *opts) ...@@ -218,7 +218,7 @@ static void exec_criu(struct criu_opts *opts)
DECLARE_ARG("--tcp-established"); DECLARE_ARG("--tcp-established");
DECLARE_ARG("--file-locks"); DECLARE_ARG("--file-locks");
DECLARE_ARG("--link-remap"); DECLARE_ARG("--link-remap");
DECLARE_ARG("--manage-cgroups"); DECLARE_ARG("--manage-cgroups=full");
DECLARE_ARG("--ext-mount-map"); DECLARE_ARG("--ext-mount-map");
DECLARE_ARG("auto"); DECLARE_ARG("auto");
DECLARE_ARG("--enable-external-sharing"); DECLARE_ARG("--enable-external-sharing");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment