[CRIU] [PATCH 0/4] Process Migration using Sockets

Mike Rapoport rppt at linux.vnet.ibm.com
Wed Aug 3 05:41:54 PDT 2016


Hello Katerina,

On Tue, Aug 02, 2016 at 04:39:36PM +0000, Katerina Koukiou wrote:
> This patch series is a rebased version of these three patches
> https://lists.openvz.org/pipermail/criu/2015-December/024218.html
> https://lists.openvz.org/pipermail/criu/2015-December/024117.html
> https://lists.openvz.org/pipermail/criu/2015-December/024118.html
> together with one extra error checking patch.
> 
> The current patch allows CRIU to perform in-memory remote live migrations.
> Snapshot images are stored in memory and sent to a remote node, where they are
> stored in memory until the process is restored. This can be activated by using
> '--remote' in the command line arguments for launching CRIU
> Dump/Pre-Dump/Restore.
> 
> A more analytic documentation can be found here
> https://lists.openvz.org/pipermail/criu/2015-December/024358.html.
> 
> 
> Katerina Koukiou (4):
>   mem: Introduce image-proxy/image-cache & remote option
>   mem: implement image proxy/image cache
>   test: Add testcases for image-proxy/image-cache
>   fix: Missing check at restore with --remote option

It will be great if you could rearrange the patches in the way that the
first patches add the implementation required to enable the remote option
and the last patch(es) actually add opts.remote and modifications of the
existing code required by that option.
 
>  criu/Makefile.crtools           |   4 +
>  criu/cr-dump.c                  |  15 +
>  criu/crtools.c                  |  30 +-
>  criu/image-desc.c               |   4 +-
>  criu/image.c                    |  26 +-
>  criu/img-cache.c                | 171 ++++++++++
>  criu/img-proxy.c                | 119 +++++++
>  criu/img-remote-proto.c         | 697 ++++++++++++++++++++++++++++++++++++++++
>  criu/img-remote.c               | 275 ++++++++++++++++
>  criu/include/cr_options.h       |   3 +
>  criu/include/image.h            |   1 +
>  criu/include/img-remote-proto.h |  84 +++++
>  criu/include/protobuf-desc.h    |   4 +
>  criu/include/util.h             |   1 +
>  criu/page-xfer.c                |  27 +-
>  criu/pagemap.c                  |  48 ++-
>  criu/protobuf-desc.c            |   1 +
>  criu/util.c                     |  15 +
>  images/Makefile                 |   1 +
>  images/remote-image.proto       |  20 ++
>  test/proxy-cache/Makefile       |  29 ++
>  test/proxy-cache/loop.sh        |   8 +
>  test/proxy-cache/run.sh         | 106 ++++++
>  23 files changed, 1666 insertions(+), 23 deletions(-)
>  create mode 100644 criu/img-cache.c
>  create mode 100644 criu/img-proxy.c
>  create mode 100644 criu/img-remote-proto.c
>  create mode 100644 criu/img-remote.c
>  create mode 100644 criu/include/img-remote-proto.h
>  create mode 100644 images/remote-image.proto
>  create mode 100644 test/proxy-cache/Makefile
>  create mode 100755 test/proxy-cache/loop.sh
>  create mode 100755 test/proxy-cache/run.sh
> 
> -- 
> 2.7.3
> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
> 



More information about the CRIU mailing list