]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/criu.c
c/r: pass --cgroup-roots on checkpoint
authorTycho Andersen <tycho.andersen@canonical.com>
Wed, 14 Sep 2016 14:47:38 +0000 (14:47 +0000)
committerTycho Andersen <tycho.andersen@canonical.com>
Fri, 16 Sep 2016 21:19:07 +0000 (15:19 -0600)
commit0ab5703fcff8aafc3512c8b3cb446780b1c6974c
treea70bf85b0ea12cb3bf01bf4e7e01805e5eca4025
parentaeb3682ff631e6afaa9c0b5d8a32654e8ebd2771
c/r: pass --cgroup-roots on checkpoint

CRIU has added support for passing --cgroup-root on dump, which we should
use (see the criu commit 07d259f365f224b32914de26ea0fd59fc6db0001 for
details). Note that we don't have to do any version checking or anything,
because CRIU just ignored --cgroup-root on checkpoint before, so passing it
is safe, and will result in correct behavior when a sufficient version of
CRIU is present.

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
src/lxc/criu.c