[CRIU] [PATCH 0/3 RFC] Add support of external terminals

Andrey Vagin avagin at openvz.org
Thu Nov 26 01:32:44 PST 2015


From: Andrew Vagin <avagin at virtuozzo.com>

Many users ask us to add support console devices for Docker and LXC.

Consoles are provided through PTYs created on the host and bind-mounted
over the expected devices in the container.

Cc: Tycho Andersen <tycho.andersen at canonical.com>
Cc: Ross Boucher <boucher at gmail.com>
Cc: Saied Kazemi <saied at google.com>

Andrew Vagin (3):
  crtools: allow to use --inherit-fd on dump to mark inhereted
    descriptors
  tty: use a pair of dev and rdev to identify a terminal
  tty: allow to dump and restore external terminals

 crtools.c          |  4 ----
 files.c            | 16 ++++++++-----
 include/files.h    |  1 +
 include/tty.h      |  6 ++---
 protobuf/tty.proto |  2 ++
 tty.c              | 67 +++++++++++++++++++++++++++++++++++++++++++++++++-----
 6 files changed, 77 insertions(+), 19 deletions(-)

-- 
2.4.3



More information about the CRIU mailing list