[Devel] [PATCH 0/8] [RFC] vzctl: Dump/restore of upstream containers

Andrew Vagin avagin at parallels.com
Wed May 15 09:11:19 PDT 2013


Add Glauber in CC

On Wed, May 15, 2013 at 08:10:45PM +0400, Andrey Vagin wrote:
> Don't commit these patch, just look at them and send me comments.
> 
> This patches have not been tested on OpneVZ CT-s:)
> 
> Andrey Vagin (8):
>   vzctl: save a pid of init in a state file
>   vzctl: split ct_env_create
>   vzctl: transfer vps_res in env_stop
>   vzctl: save PID of init in a state file
>   vzctl: transfer vps_res in vps_chkpnt and vps_restore
>   vzctl: split vps_chkpnt and vps_restore
>   vzctl: move cpt/rst code in hook_vz
>   vzctl: checkpoint/restoer of upstream CTs
> 
>  etc/vz.conf.in        |   1 +
>  include/cpt.h         |  15 +-
>  include/env.h         |   2 +-
>  include/res.h         |   1 +
>  include/snapshot.h    |   4 +-
>  include/types.h       |  29 ++--
>  include/util.h        |   1 +
>  include/vzctl_param.h |   1 +
>  scripts/ct-cpt        |  14 ++
>  scripts/ct-rst        |  11 ++
>  src/lib/config.c      |  10 ++
>  src/lib/cpt.c         | 384 +------------------------------------------------
>  src/lib/env.c         |  18 +--
>  src/lib/hooks_ct.c    | 156 +++++++++++++++++---
>  src/lib/hooks_vz.c    | 389 +++++++++++++++++++++++++++++++++++++++++++++++++-
>  src/lib/util.c        |   6 +
>  src/snapshot.c        |  13 +-
>  src/vzctl-actions.c   |   6 +-
>  18 files changed, 627 insertions(+), 434 deletions(-)
>  create mode 100755 scripts/ct-cpt
>  create mode 100755 scripts/ct-rst
> 
> -- 
> 1.8.2
> 



More information about the Devel mailing list