[CRIU] [PATCH 0/5] Initial support of shared descriptor tables (v2)

Andrey Vagin avagin at openvz.org
Fri Nov 23 03:24:26 EST 2012


Currently crtools supports a case when childen are shared fd table
with parent.

v2: cosmetic fixes according with Pavel's comments

Andrey Vagin (5):
  zdtm: test shared file tables
  pstree: save ids on pstree_entry
  crtools: don't use core->ids
  util: clone service descriptors, if fd tables are shared for tasks
  restore: restore pocesses which share one fdtable (v2)

 cr-dump.c                          |  54 ++++++-------
 cr-restore.c                       |  51 +++++++++---
 files.c                            |   7 +-
 image.c                            |  22 ++++++
 include/crtools.h                  |  11 +++
 include/files.h                    |   1 +
 include/log.h                      |   1 +
 include/pstree.h                   |  10 +++
 include/restorer.h                 |   1 -
 log.c                              |  11 +++
 protobuf/core.proto                |   2 +-
 protobuf/pstree.proto              |   8 ++
 pstree.c                           |  35 ++++++++-
 test/zdtm/live/static/Makefile     |   1 +
 test/zdtm/live/static/fdt_shared.c | 157 +++++++++++++++++++++++++++++++++++++
 util.c                             |  73 ++++++++++++++++-
 16 files changed, 393 insertions(+), 52 deletions(-)
 create mode 100644 test/zdtm/live/static/fdt_shared.c

-- 
1.7.11.7



More information about the CRIU mailing list