Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add skip-in-flight and link-remap criu options for checkpoint and restore #4627

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dleviminzi
Copy link

@dleviminzi dleviminzi commented Feb 13, 2025

This is a relatively small PR that exposes the criu options below when using the runc checkpoint and restore functionality.

--tcp-skip-in-flight
: Skip in-flight TCP connections. See
criu --skip-in-flight option.

--link-remap
: Allow one to link unlinked files back when possible. See
criu --link-remap option.

With regards to the lint error below, I followed the naming convention of the already present TcpEstablished when adding TcpSkipInFlight. I could leave it as it or change both or change just my addition. Though the last option would look a bit weird I think.

@kolyshkin
Copy link
Contributor

Hmm, if I'm not mistaken, both options are for checkpoint only.

@dleviminzi
Copy link
Author

Hmm, if I'm not mistaken, both options are for checkpoint only.

I've removed those options from restore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants