[Devel] [RFC rh7 v2] ve/tty: vt -- Implement per VE support for console and terminals

Cyrill Gorcunov gorcunov at virtuozzo.com
Thu Aug 6 04:01:57 PDT 2015


On Thu, Aug 06, 2015 at 01:48:08PM +0300, Vladimir Davydov wrote:
> > Maybe let gather all ioctls we won't be able to escape using into
> > one place and check what we can do?
> 
> I don't think it's strictly necessary - we can do it in the course of
> porting old APIs. We just need to refine our policy:
> 
>  - Everything that has to be configured at restore must be moved to the
>    ve cgroup right now for the sake of criu.
> 
> Then having ve.features, ve.os_release, etc perfectly makes sense. Still
> VE_CONFIGURE_OPEN_TTY should be left as an ioctl according to our new
> policy.

Agreed. VE_CONFIGURE_OPEN_TTY is special unfortunately (and could you
enlighten me a bit -- when console is attached, is it allowed to
do c/r in our pcs6, i somehow forget, and if yes I'm not yet sure
how we will be restoring it in criu).

	Cyrill



More information about the Devel mailing list