[CRIU] [PATCH 23/32] tools: cpt2 -- Introduce convert() routine
Pavel Emelyanov
xemul at parallels.com
Mon Apr 1 06:08:47 EDT 2013
On 03/31/2013 01:43 AM, Cyrill Gorcunov wrote:
>
> This routine is resposible for calling all
> converting subroutines. At moment only reading
> of dumpfile is done here.
>
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
> tools/cpt2/src/Makefile | 1 +
> tools/cpt2/src/convert.c | 58 ++++++++++++++++++++++++++++++++++++++++
> tools/cpt2/src/include/convert.h | 6 +++++
> tools/cpt2/src/main.c | 3 ++-
> 4 files changed, 67 insertions(+), 1 deletion(-)
> create mode 100644 tools/cpt2/src/convert.c
> create mode 100644 tools/cpt2/src/include/convert.h
>
CPT image may contain data, you don't read_xxx() here. In this
case conversion must fail, not ignore one.
More information about the CRIU
mailing list