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

Kir Kolyshkin kir at openvz.org
Tue May 21 19:08:14 PDT 2013


On 05/21/2013 09:13 AM, Andrey Vagin wrote:
> 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.
> v3: env_create_FN returns PID or a negative error code
>
> 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
>

Thanks!

Committed, with some fixes and nitpicks inline and in-between patches.
Pushed to git. Please review my changes and test the code.



More information about the Devel mailing list