Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

cr: use the RPC protocol for communication with criu #486

Merged
merged 7 commits into from
Apr 9, 2015

Commits on Apr 3, 2015

  1. ct: execute CRIU restore with the --restore-detached option

    In this case CRIU will exit after restoring processes. Here is
    no reason to wait the init process.
    
    Signed-off-by: Andrey Vagin <avagin@openvz.org>
    avagin committed Apr 3, 2015
    Configuration menu
    Copy the full SHA
    b7260b8 View commit details
    Browse the repository at this point in the history
  2. vendor: add protobuf

    Signed-off-by: Andrey Vagin <avagin@openvz.org>
    avagin committed Apr 3, 2015
    Configuration menu
    Copy the full SHA
    fa8217d View commit details
    Browse the repository at this point in the history
  3. cr: add criu_rpc.proto

    Signed-off-by: Andrey Vagin <avagin@openvz.org>
    avagin committed Apr 3, 2015
    Configuration menu
    Copy the full SHA
    6c1ce5f View commit details
    Browse the repository at this point in the history
  4. cr: use the RPC protocol for communication with criu

    criu swrk is a special mode when we don't want to execute a service,
    but want to use RPC.
    
    Here is more details:
    http://lists.openvz.org/pipermail/criu/2015-March/019400.html
    
    Another good feature of this mode is that we don't need to create
    action scripts and we will be able to remove the hack with saving StdFds.
    
    criu swrk is supported starting with CRIU 1.5.1.
    
    Signed-off-by: Andrey Vagin <avagin@openvz.org>
    avagin committed Apr 3, 2015
    Configuration menu
    Copy the full SHA
    ea02217 View commit details
    Browse the repository at this point in the history
  5. cr: check criu version

    CRIU version must be 1.5.1 or higher
    
    Signed-off-by: Andrey Vagin <avagin@openvz.org>
    avagin committed Apr 3, 2015
    Configuration menu
    Copy the full SHA
    ef841ec View commit details
    Browse the repository at this point in the history
  6. cr: split work and image directories

    This directory can be removed when criu completes.
    
    Signed-off-by: Andrey Vagin <avagin@openvz.org>
    avagin committed Apr 3, 2015
    Configuration menu
    Copy the full SHA
    7dabcea View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2015

  1. Dockerfile: don't call go get

    Everything must be in vendor/
    
    Signed-off-by: Andrey Vagin <avagin@openvz.org>
    avagin committed Apr 6, 2015
    Configuration menu
    Copy the full SHA
    23d6d0a View commit details
    Browse the repository at this point in the history