[CRIU] [PATCHv1 0/2] implement --leave-stopped option for CRIU restorer
Pavel Emelyanov
xemul at virtuozzo.com
Wed May 11 05:30:59 PDT 2016
Andrey, please, review this set.
On 05/02/2016 06:46 PM, Eugene Batalov wrote:
> Hello.
> This patch allows to restore process tree in stopped state.
> Every process in the tree is sent SIGSTOP before detaching from it.
> Patch set also includes simple autotest for this feature.
>
> This is the second part of task https://github.com/xemul/criu/issues/46
>
> === V0 -> V1 ===
> - Rebased to criu-dev branch
>
> Kravchenko Dmitrii (2):
> restorer: implement restore of ps tree in stopped state
> test/others/leave-stopped: implement test for new --leave-stopped
> option
>
> criu/cr-restore.c | 3 +-
> criu/crtools.c | 10 +++++++
> test/others/leave-stopped/.gitignore | 3 ++
> test/others/leave-stopped/Makefile | 7 +++++
> test/others/leave-stopped/pstree.c | 39 +++++++++++++++++++++++++
> test/others/leave-stopped/run.sh | 31 ++++++++++++++++++++
> test/others/leave-stopped/tree_checker.py | 47 +++++++++++++++++++++++++++++++
> 7 files changed, 139 insertions(+), 1 deletion(-)
> create mode 100644 test/others/leave-stopped/.gitignore
> create mode 100644 test/others/leave-stopped/Makefile
> create mode 100644 test/others/leave-stopped/pstree.c
> create mode 100755 test/others/leave-stopped/run.sh
> create mode 100755 test/others/leave-stopped/tree_checker.py
>
More information about the CRIU
mailing list