[Devel] [PATCH 0/6] vzctl: Dump/restore of upstream containers (v2)

Andrey Vagin avagin at openvz.org
Thu May 16 05:14:46 PDT 2013


The project CRIU is used for dumping and restoring containers.

http://criu.org/

Known issues:
	Network devices are not supported yet.

v2: The patch set was fixed according with Kir's comments.

Andrey Vagin (6):
  vzctl: split ct_env_create
  vzctl: save PID of init in a state file
  vzctl: split vps_chkpnt and vps_restore
  vzctl: move cpt/rst code in hook_vz
  vzctl: transfer fs in vps_chkpnt, vps_restore, env_start_FN
  vzctl: checkpoint/restoer of upstream CTs

 include/cpt.h       |  13 ++
 include/env.h       |   4 +-
 include/types.h     |  27 ++--
 include/util.h      |   1 +
 scripts/Makefile.am |   4 +-
 scripts/vps-cpt.in  |  54 ++++++++
 scripts/vps-rst.in  |  51 +++++++
 src/lib/cpt.c       | 380 +--------------------------------------------------
 src/lib/hooks_ct.c  | 174 ++++++++++++++++++++---
 src/lib/hooks_vz.c  | 387 +++++++++++++++++++++++++++++++++++++++++++++++++++-
 src/lib/util.c      |   5 +
 vzctl.spec          |   2 +
 12 files changed, 691 insertions(+), 411 deletions(-)
 create mode 100755 scripts/vps-cpt.in
 create mode 100755 scripts/vps-rst.in

-- 
1.8.2




More information about the Devel mailing list