[CRIU] [PATCHv3 0/3] Add remote option to RPC

Radostin Stoyanov rstoyanov1 at gmail.com
Mon Feb 12 13:54:03 MSK 2018


Chages since v1:
- Start image-{cache,proxy} as bg task rather than daemon and store their PID
- Kill image-{cache,proxy} and old process PID
- Kill the restored process using the new PID

Changes since v2:
- Added `criu_set_remote(bool remote)` to libcriu

Radostin Stoyanov (3):
  rpc: Add `remote` option
  test: Add rpc test for dump/restore with --remote
  libcriu: Add remote option for dump/restore

 criu/cr-service.c         | 13 ++++---
 images/rpc.proto          |  1 +
 lib/c/criu.c              | 12 +++++++
 lib/c/criu.h              |  2 ++
 test/others/rpc/remote.py | 86 +++++++++++++++++++++++++++++++++++++++++++++++
 test/others/rpc/run.sh    | 26 ++++++++++++++
 6 files changed, 135 insertions(+), 5 deletions(-)
 create mode 100644 test/others/rpc/remote.py

-- 
2.14.3



More information about the CRIU mailing list