[CRIU] [PATCH 0/5]v4 libcriu

Ruslan Kuprieiev kupruser at gmail.com
Tue Dec 17 13:04:36 PST 2013


Currently, we have two ways to use criu: CLI and RPC. This
patch adds one more way -- C API. For now it's just a simple wrapper around RPC, which will help you to avoid writting
redundant code when using criu in your app.

Ruslan Kuprieiev (5):
  make: add ldflags-so variable to make engine
  make: lib -- use ldflags-so and obj-ext-src-y
  service: move constants to cr-service-const.h
  lib: add check/dump/restore
  test: libcriu

 Makefile                   |   1 +
 cr-service.c               |   7 +-
 include/cr-service-const.h |   7 ++
 include/cr-service.h       |   3 -
 lib/Makefile               |   4 +-
 lib/criu.c                 | 301 +++++++++++++++++++++++++++++++++++++++++++++
 lib/criu.h                 |  68 ++++++++++
 scripts/Makefile.build     |   2 +-
 test/libcriu/Makefile      |  10 ++
 test/libcriu/loop.sh       |   4 +
 test/libcriu/run.sh        |  63 ++++++++++
 test/libcriu/test.c        |  94 ++++++++++++++
 12 files changed, 556 insertions(+), 8 deletions(-)
 create mode 100644 include/cr-service-const.h
 create mode 100644 lib/criu.h
 create mode 100644 test/libcriu/Makefile
 create mode 100755 test/libcriu/loop.sh
 create mode 100755 test/libcriu/run.sh
 create mode 100644 test/libcriu/test.c

-- 
1.8.3.2



More information about the CRIU mailing list