[CRIU] [PATCH 0/2] Move common image/protobuf constants to own files

Cyrill Gorcunov gorcunov at openvz.org
Fri Apr 19 08:51:27 EDT 2013


FWIW it allowed me to save a bunch of code in cpt2

commit ea13c4f64107219d03cc847c3ff8e2617ad45d78
Author: Cyrill Gorcunov <gorcunov at openvz.org>
Date:   Fri Apr 19 11:36:57 2013 +0400

    tools: cpt2 -- Reuse image and protobuf code from crtools

    Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>

 tools/cpt2/src/Makefile           |   2 ++
 tools/cpt2/src/convert.c          |   2 +-
 tools/cpt2/src/image.c            | 120
+++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------------
 tools/cpt2/src/include/image.h    |  92
+++-----------------------------------------------------------------------------------------
 tools/cpt2/src/include/protobuf.h |  64
+---------------------------------------------------------------
 tools/cpt2/src/protobuf.c         | 132
------------------------------------------------------------------------------------------------------------------------------------
 6 files changed, 62 insertions(+), 350 deletions(-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130419/c007338e/attachment.html>


More information about the CRIU mailing list