[CRIU] [RESEND PATCH v2 0/3] Process Migration using Sockets
Katerina Koukiou
k.koukiou at googlemail.com
Thu Aug 4 04:28:05 PDT 2016
Resend patch series because I forgot to add to commit image.h resulting in
build error.
Changes v1 -> v2:
-rearranged the patches so that the one that adds the implementation required
to enable the remote option comes first.
-rebased patches to criu-dev and not master branch as the previous time
-fixed the changes suggested by Mike Rapoport.
Note: In criu/mem.c I needed to skip the following check when --remote
option is provided, because it resulted in error.
if (page_is_zero(at[pfn])) {
ret = page_pipe_add_hole(pp, vaddr, PP_HOLE_ZERO);
pages[0]++;
}
,is that ok?
Katerina Koukiou (3):
mem: implement image proxy/image cache
mem: Introduce image-proxy/image-cache & remote option
test: Add testcases for image-proxy/image-cache
criu/Makefile.crtools | 4 +
criu/cr-dump.c | 17 +
criu/crtools.c | 30 +-
criu/image-desc.c | 4 +-
criu/image.c | 26 +-
criu/img-cache.c | 170 ++++++++++
criu/img-proxy.c | 119 +++++++
criu/img-remote-proto.c | 697 ++++++++++++++++++++++++++++++++++++++++
criu/img-remote.c | 279 ++++++++++++++++
criu/include/cr_options.h | 3 +
criu/include/image.h | 1 +
criu/include/img-remote-proto.h | 84 +++++
criu/include/img-remote.h | 79 +++++
criu/include/protobuf-desc.h | 4 +
criu/mem.c | 2 +-
criu/page-xfer.c | 26 +-
criu/pagemap.c | 75 +++--
criu/protobuf-desc.c | 1 +
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, 1752 insertions(+), 33 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 criu/include/img-remote.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