Skip to content

Commit

Permalink
Merge pull request #1062 from tych0/fully-manage-cgroups
Browse files Browse the repository at this point in the history
c/r: use criu's "full" mode for cgroups
  • Loading branch information
stgraber committed Jun 28, 2016
2 parents 4737d51 + 0a5fc6d commit 9aea661
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lxc/criu.c
Expand Up @@ -135,7 +135,7 @@ static void exec_criu(struct criu_opts *opts)

/* The command line always looks like:
* 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
* --enable-external-sharing --enable-external-masters
* --enable-fs hugetlbfs --enable-fs tracefs --ext-mount-map console:/dev/pts/n
Expand Down Expand Up @@ -218,7 +218,7 @@ static void exec_criu(struct criu_opts *opts)
DECLARE_ARG("--tcp-established");
DECLARE_ARG("--file-locks");
DECLARE_ARG("--link-remap");
DECLARE_ARG("--manage-cgroups");
DECLARE_ARG("--manage-cgroups=full");
DECLARE_ARG("--ext-mount-map");
DECLARE_ARG("auto");
DECLARE_ARG("--enable-external-sharing");
Expand Down

0 comments on commit 9aea661

Please sign in to comment.