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

Katerina Koukiou k.koukiou at googlemail.com
Tue Aug 2 09:39:36 PDT 2016


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

 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



More information about the CRIU mailing list