[CRIU] [PATCHv0 0/3] Support C/R of frozen cgroup

Eugene Batalov eabatalov89 at gmail.com
Tue Nov 24 05:34:11 PST 2015


Hello. This patchset implements c/r of ps tree
that was frozen using freezer controller before start of
ps tree dumping.
Such ps tree will be frozen after restore.
This means that we can c/r paused Docker containers.
See details in issue #20 on github:
https://github.com/xemul/criu/issues/20

We'll send patch with autotest for this feature later.

>From user point of view we extend functionality of --freeze-cgroup
option so CRIU documentation and help message for --freeze-cgroup
option may need some improvement/clarification.

Evgeniy Akimov (3):
  cgroups: save freezer state during dump
  restore: split finalize_restore into two stages
  restore: restore freezer cgroup state

 cgroup.c              | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++
 cr-restore.c          | 37 +++++++++++++++++++-----------
 include/cgroup.h      |  1 +
 include/seize.h       |  1 +
 protobuf/cgroup.proto |  1 +
 seize.c               |  5 ++++
 6 files changed, 95 insertions(+), 13 deletions(-)

-- 
1.9.1



More information about the CRIU mailing list