[CRIU] Another try to get configuration file support in the RPC code path

Adrian Reber adrian at lisas.de
Wed Aug 1 19:31:12 MSK 2018


This is one more try to get the configuration file support into the RPC code
path.

This time I restructured the whole getopt() parsing code to be able to
use configuration files via RPC. Most of the changes are only in preparation
of the actual RPC configuration file support.

Travis is happy with the current patchset and I hope this comes close to
something that can finally be merged,

		Adrian


 Makefile                       |   1 +
 criu/cgroup.c                  |   2 +-
 criu/config.c                  | 683 ++++++++++++++++++++++++++++++++++++++---
 criu/cr-service.c              | 108 ++++++-
 criu/crtools.c                 | 610 ++----------------------------------
 criu/include/cr_options.h      |  25 +-
 criu/include/crtools.h         |   4 -
 criu/lsm.c                     |   5 +-
 criu/plugin.c                  |   4 +-
 images/rpc.proto               |   1 +
 test/others/rpc/Makefile       |   2 +
 test/others/rpc/config_file.py | 182 +++++++++++
 12 files changed, 978 insertions(+), 649 deletions(-)



More information about the CRIU mailing list