[CRIU] [PATCH 7/7] tty: Migrate tty slave peer connection

Cyrill Gorcunov gorcunov at openvz.org
Fri Sep 28 11:47:44 EDT 2012


In case if we've dumped a slave peer only (say a user dumped
`top' application) we should migrate it on current active
terminal, which barely an own standart stream prepared for us
by file engine.

Note only one external slave peer is allowed simply
because otherwise we can't distinguish which indices
should be used for each of them.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 cr-dump.c     |    2 +-
 include/tty.h |    2 +-
 tty.c         |   93 +++++++++++++++++++++++++++++++++++++++++++-------------
 3 files changed, 73 insertions(+), 24 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-tty-Migrate-tty-slave-peer-connection.patch
Type: text/x-patch
Size: 4447 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120928/55a8502f/0007-tty-Migrate-tty-slave-peer-connection-0001.bin


More information about the CRIU mailing list