[CRIU] [PATCH 0/3] p.haul: implement Virtuozzo specific container restore
Nikita Spiridonov
nspiridonov at odin.com
Fri Aug 14 10:20:42 PDT 2015
It is needed to exec vzctl restore instead of usual criu restore
request to successfully restore Virtuozzo containers. Implement
Virtuozzo specific restore.
Not sure about some decisions, e.g. inheratance of all p.haul
modules from base class (p_haul_module.phaul_module) or move
of requests-related code to separate file. We can discuss it
and rework current patchset if better ideas appear.
Nikita Spiridonov (3):
p.haul: move all criu requests-related code to separate file
p.haul: create base class for all p.haul modules
p.haul: implement Virtuozzo specific container restore
phaul/criu_api.py | 15 ++----
phaul/criu_req.py | 108 +++++++++++++++++++++++++++++++++++++++++++++++
phaul/p_haul_iters.py | 56 +++----------------------
phaul/p_haul_lxc.py | 3 +-
phaul/p_haul_module.py | 44 +++++++++++++++++++
phaul/p_haul_pid.py | 4 +-
phaul/p_haul_service.py | 89 ++------------------------------------
phaul/p_haul_type.py | 2 +-
phaul/p_haul_vz.py | 34 ++++++++++++++-
9 files changed, 206 insertions(+), 149 deletions(-)
create mode 100644 phaul/criu_req.py
create mode 100644 phaul/p_haul_module.py
More information about the CRIU
mailing list