[Devel] [PATCH rh7] tty: vzcon -- Add container dummy console support

Vladimir Davydov vdavydov at parallels.com
Wed Jun 17 10:07:37 PDT 2015


On Wed, Jun 17, 2015 at 07:49:39PM +0300, Cyrill Gorcunov wrote:
> On Wed, Jun 17, 2015 at 07:27:23PM +0300, Vladimir Davydov wrote:
> > 
> > May be, we could simply reuse all pty methods slightly tweaking
> > pty_write and pty_write_max then? IMO it would be neater and more
> > compact than code duplication. Is it possible?
> 
> I tried, but pty code is shared between unix98 ptys and bsd ptys
> already, adding more tweaks there make it almost unreadable (at
> least for me).

OK, but what prevents us from using all methods of unix98 pty unmodified
except write and write_room (just curious)?



More information about the Devel mailing list