[Devel] [PATCH rh7 v3] vtty: Don't free console mapping until no clients left
Vladimir Davydov
vdavydov at virtuozzo.com
Tue Jun 14 02:35:29 PDT 2016
On Tue, Jun 14, 2016 at 12:20:17PM +0300, Cyrill Gorcunov wrote:
> Currently on container's stop we free vtty mapping in a force way
> so that if there is active console hooked from the node it become
> unusable since then. It was easier to work with when we've been
> reworking virtual console code.
>
> Now lets make console fully functional as it was in pcs6:
> when opened it must survice container start/stop cycle
> and checkpoint/restore as well.
>
> For this sake we:
>
> - drop ve_hook code, it no longer needed
> - free console @map on final close of the last tty opened
>
> https://jira.sw.ru/browse/PSBM-39463
>
> Signed-off-by: Cyrill Gorcunov <gorcunov at virtuozzo.com>
> CC: Vladimir Davydov <vdavydov at virtuozzo.com>
> CC: Konstantin Khorenko <khorenko at virtuozzo.com>
> CC: Igor Sukhih <igor at virtuozzo.com>
> CC: Pavel Emelyanov <xemul at virtuozzo.com>
Reviewed-by: Vladimir Davydov <vdavydov at virtuozzo.com>
More information about the Devel
mailing list