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

Pavel Tikhomirov snorcht at gmail.com
Thu Feb 18 02:31:33 PST 2016


https://jira.sw.ru/browse/PSBM-44145


Best Regards, Tikhomirov Pavel.

2016-02-18 13:02 GMT+03:00 Pavel Tikhomirov <ptikhomirov at virtuozzo.com>:

> 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
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20160218/5ce451fb/attachment.html>


More information about the CRIU mailing list