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

Initial checkpoint support #641

Merged
merged 4 commits into from
Feb 25, 2022

Commits on Feb 24, 2022

  1. Fix off-by-one error

    0..2 does not include 2. Change it to 0..3 to include 2.
    
    Signed-off-by: Adrian Reber <areber@redhat.com>
    adrianreber committed Feb 24, 2022
    Configuration menu
    Copy the full SHA
    94bcd00 View commit details
    Browse the repository at this point in the history
  2. Initial checkpoint support

    This adds the first code to checkpoint a container. The checkpoint
    command is name 'checkpointt' (with two 't's at the end) so that
    container engines like Podman do not think to use this not yet finished
    checkpoint restore implementation.
    
    For Podman it is still necessary to tell CRIU that the network namespace
    is external at least and restoring needs special handling to support
    '--console-socket'.
    
    Signed-off-by: Adrian Reber <areber@redhat.com>
    adrianreber committed Feb 24, 2022
    Configuration menu
    Copy the full SHA
    653b719 View commit details
    Browse the repository at this point in the history
  3. Also connect stdin to /dev/null for test containers

    If stdin is not pointing to /dev/null checkpointing fails for now. Just
    point it to /dev/null.
    
    Signed-off-by: Adrian Reber <areber@redhat.com>
    adrianreber committed Feb 24, 2022
    Configuration menu
    Copy the full SHA
    44ae6d7 View commit details
    Browse the repository at this point in the history
  4. Add checkpoint testing

    This still uses the subcommand 'checkpointt' until it works in
    combination with Podman.
    
    Signed-off-by: Adrian Reber <areber@redhat.com>
    adrianreber committed Feb 24, 2022
    Configuration menu
    Copy the full SHA
    0547fc2 View commit details
    Browse the repository at this point in the history