Skip to content

user-cr: update to eclone API; add nsexeccwp

Nathan Lynch containers 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9user-cr: add eclone/clone_args headereclone.h+25 -00 replies
2/9user-cr: x86_32 eclone wrapperclone_x86_32.c+65 -00 replies
3/9user-cr: s390 eclone wrapperclone_s390x.c+62 -04 replies
4/9user-cr: ppc32 eclone wrapperclone_ppc.c clone_ppc_.S+120 -01 reply
5/9user-cr: add nsexeccwp to test ecloneMakefile clone.h nsexeccwp.c+387 -10 replies
6/9user-cr: use eclone API for restartrestart.c+15 -310 replies
7/9user-cr: remove x86_32 clone_with_pidsclone_x86_32.c+2 -620 replies
8/9user-cr: remove s390 clone_with_pidsclone_s390x.c+2 -490 replies
9/9user-cr: remove powerpc clone_with_pidsclone_ppc.c clone_ppc_.S+2 -1140 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] user-cr: update to eclone API; add nsexeccwp

The following series adds support for eclone to the arch code, introduces the nsexeccwp utility which allows for isolated testing of eclone's pid-choosing capability, switches the restart utility to eclone, and finally phases out the clone_with_pids support code.

I've verified that nsexeccwp works correctly on x86 and powerpc with a mainline kernel with eclone support (but not checkpoint/restart); s390 needs to be built and tested (Serge?).

Based on ckpt-v19-rc1.

Nathan Lynch (8):
user-cr: add eclone/clone_args header
user-cr: x86_32 eclone wrapper
user-cr: s390 eclone wrapper
user-cr: ppc32 eclone wrapper
user-cr: use eclone API for restart
user-cr: remove x86_32 clone_with_pids
user-cr: remove s390 clone_with_pids
user-cr: remove powerpc clone_with_pids

Serge E. Hallyn (1):
user-cr: add nsexeccwp to test eclone

 Makefile       |    5 +-
 clone.h        |   54 +++++++++
 clone_ppc.c    |   58 ++++++-----
 clone_ppc_.S   |   52 +++++-----
 clone_s390x.c  |   97 ++++++++++-------
 clone_x86_32.c |   87 ++++++++-------
 eclone.h       |   25 +++++
 nsexeccwp.c    |  329 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 restart.c      |   46 +++------
 9 files changed, 588 insertions(+), 165 deletions(-)
 create mode 100644 clone.h
 create mode 100644 eclone.h
 create mode 100644 nsexeccwp.c