[CRIU] [PATCH 0/3] vzct: c/r kernel.core_pattern sysctl

Pavel Tikhomirov ptikhomirov at virtuozzo.com
Thu Feb 18 02:02:12 PST 2016


Make our virtualized kernel.core_pattern properly c/r, thus
creating universal VZCT plugin to c/r Virtuozzo specitic staff
with criu.

I'm not sure if puting PB_VZCT in protobuf-desc.h and CR_FD_VZCT
in image-desc.h is the proper way for plugin to put own images
in protobuf format, but that seem needed to reuse open_image_at,
pb_read_one and pb_write_one.

Pavel Tikhomirov (3):
  plugin: add DUMP_VZCT and RESTORE_VZCT hooks to c/r custom VZCT props
  plugin: vzct c/r core_pattern in CT
  test: vzct plugin should c/r VZ7CT kernel.core_pattern sysctl

 criu/cr-dump.c               |  12 ++++-
 criu/cr-restore.c            |  10 +++++
 criu/image-desc.c            |   1 +
 criu/include/criu-plugin.h   |   5 +++
 criu/include/image-desc.h    |   2 +
 criu/include/magic.h         |   1 +
 criu/include/protobuf-desc.h |   1 +
 criu/protobuf-desc.c         |   2 +
 images/Makefile              |   1 +
 images/vzct.proto            |   3 ++
 test/vzct/Makefile           |   4 ++
 test/vzct/run.sh             |  49 ++++++++++++++++++++
 test/vzct/vzct.c             | 105 +++++++++++++++++++++++++++++++++++++++++++
 13 files changed, 195 insertions(+), 1 deletion(-)
 create mode 100644 images/vzct.proto
 create mode 100644 test/vzct/Makefile
 create mode 100644 test/vzct/run.sh
 create mode 100644 test/vzct/vzct.c

-- 
1.9.3


More information about the CRIU mailing list