Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

criu: apply two patch to support c/r function #13

Merged
merged 2 commits into from
Aug 30, 2018
Merged

Conversation

Ace-Tang
Copy link
Collaborator

Pick two patch from [opencontainer/runc] to [alibaba/runc] to support checkpoint/restore.

Ace-Tang and others added 2 commits August 30, 2018 10:10
since runc don't manage net device and their configuration, checkpoint
also don't dump net namespace by default, so set 'nsmask = unix.CLONE_NEWNET'
by default in restore. Or if user do not pass 'empty-ns network', criu will
cost extra time in restore.

Signed-off-by: Ace-Tang <aceapril@126.com>
RunC doesn't manage network devices and their configuration,
so it is impossible to describe external dependencies to restore them
back.

This means that all users have to set --empty-ns network, so let's do
this by default.

Signed-off-by: Andrei Vagin <avagin@openvz.org>
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ Ace-Tang
❌ avagin
You have signed the CLA already but the status is still pending? Let us recheck it.

@Ace-Tang Ace-Tang changed the title criu: apply two patch to support criu function criu: apply two patch to support c/r function Aug 30, 2018
@allencloud
Copy link

LGTM

@allencloud allencloud merged commit 451ee29 into v1.0.0-rc4-1 Aug 30, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants