[CRIU] [PATCH 14/32] tools: cpt2 -- Start reading dumpfile
Cyrill Gorcunov
gorcunov at openvz.org
Sat Mar 30 17:42:52 EDT 2013
This commit introduces dumpfile reading routines.
The main one is read_dumpfile() which is supposed
to call all readers from other subsystems.
Once read complete (and conversion is done, which is
addressed in further patches) the read_fini() should
be called to free all resource allocated.
At moment we only read dumpfile headers and parse
sections, nothing else.
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
tools/cpt2/src/Makefile | 1 +
tools/cpt2/src/include/read.h | 13 +++
tools/cpt2/src/read.c | 260 ++++++++++++++++++++++++++++++++++++++++++
3 files changed, 274 insertions(+)
create mode 100644 tools/cpt2/src/include/read.h
create mode 100644 tools/cpt2/src/read.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0014-tools-cpt2-Start-reading-dumpfile.patch
Type: text/x-patch
Size: 7680 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130331/aa3ec684/attachment-0001.bin>
More information about the CRIU
mailing list