[CRIU] Re: [PATCH 3/3] tty: Restore external ttys
Cyrill Gorcunov
gorcunov at openvz.org
Mon Sep 24 09:48:20 EDT 2012
On Mon, Sep 24, 2012 at 05:39:14PM +0400, Andrew Vagin wrote:
> I don't like this, because it uses old tty index. This tty may be closed
> or uses for other purposes. The host may be rebooted or tasks may be
> restored on another host.
>
> I think we should restore a current terminal instead of an "external
> tty".
>
> Here is a good use case, which describes our goal,
> we should be able to dump top and then to restore it on another host.
The problem is that if you have just slave peers with some external
master peers it's supposed that master peers do exist between c/r
sessions. If the dumpee has a number of ext. peers (not one) do we
really want to restore them on one "current tty"? I don't think so.
More information about the CRIU
mailing list