[CRIU] [PATCH 0/7] CRiu Image Tool(crit), v4
Ruslan Kuprieiev
kupruser at gmail.com
Wed Dec 31 04:06:46 PST 2014
v3, enhanced pb imports and cleanup
v4, everything is almost completely reworked.
Now, criu image is represented as a python
dict(json), which allows to use a great variety
of tools out there. Code became a lot nicer,
logical and now reflects an official criu image
structure, described on wiki/Images page.
This set also treats properly images that contain
extra(pipes-data, fifo-data, etc).
Ruslan Kuprieiev (7):
scripts: add magic-gen.py
pycriu: add python package
crit: add crit
crit: add crit target to Makefile and *.pyc to .gitignore
crit: add scripts/crit-setup.py
crit: add install-crit target to Makefile
test: add crit test
.gitignore | 2 +
Makefile | 18 ++-
crit | 76 ++++++++++++
pycriu/.gitignore | 3 +
pycriu/Makefile | 16 +++
pycriu/__init__.py | 2 +
pycriu/images/.gitignore | 4 +
pycriu/images/Makefile | 26 ++++
pycriu/images/__init__.py | 3 +
pycriu/images/images.py | 298 ++++++++++++++++++++++++++++++++++++++++++++++
pycriu/images/pb2dict.py | 90 ++++++++++++++
scripts/crit-setup.py | 11 ++
scripts/magic-gen.py | 62 ++++++++++
test/Makefile | 1 +
test/crit/.gitignore | 5 +
test/crit/Makefile | 9 ++
test/crit/loop.sh | 4 +
test/crit/test.sh | 26 ++++
18 files changed, 652 insertions(+), 4 deletions(-)
create mode 100755 crit
create mode 100644 pycriu/.gitignore
create mode 100644 pycriu/Makefile
create mode 100644 pycriu/__init__.py
create mode 100644 pycriu/images/.gitignore
create mode 100644 pycriu/images/Makefile
create mode 100644 pycriu/images/__init__.py
create mode 100644 pycriu/images/images.py
create mode 100644 pycriu/images/pb2dict.py
create mode 100644 scripts/crit-setup.py
create mode 100755 scripts/magic-gen.py
create mode 100644 test/crit/.gitignore
create mode 100644 test/crit/Makefile
create mode 100755 test/crit/loop.sh
create mode 100755 test/crit/test.sh
--
2.1.0
More information about the CRIU
mailing list