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

2015-08-27 Thread Cyrill Gorcunov
On Thu, Aug 27, 2015 at 04:24:47PM +0300, Vladimir Davydov wrote: OK, I see now. Open-vs-close race is perfectly normal by design and we don't need to handle them. This simplifies things a lot. Thanks for pointing this out. Sure. If you find anything else suspicious/unconvenient or whatever

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

2015-08-27 Thread Vladimir Davydov
On Mon, Aug 24, 2015 at 02:08:56PM +0300, Cyrill Gorcunov wrote: On Mon, Aug 24, 2015 at 01:34:18PM +0300, Vladimir Davydov wrote: ... If a process inside a container closes and then immediately reopens a vtty, it does not expect to get -EIO simply because it is advancing too fast. How

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

2015-08-27 Thread Cyrill Gorcunov
On Thu, Aug 27, 2015 at 03:58:13PM +0300, Vladimir Davydov wrote: On Mon, Aug 24, 2015 at 02:08:56PM +0300, Cyrill Gorcunov wrote: On Mon, Aug 24, 2015 at 01:34:18PM +0300, Vladimir Davydov wrote: ... If a process inside a container closes and then immediately reopens a vtty, it does not

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

2015-08-27 Thread Vladimir Davydov
On Thu, Aug 27, 2015 at 04:11:38PM +0300, Cyrill Gorcunov wrote: On Thu, Aug 27, 2015 at 03:58:13PM +0300, Vladimir Davydov wrote: On Mon, Aug 24, 2015 at 02:08:56PM +0300, Cyrill Gorcunov wrote: On Mon, Aug 24, 2015 at 01:34:18PM +0300, Vladimir Davydov wrote: ... If a process inside

[Devel] [PATCH RHEL7 COMMIT] ve/net: Add VE_NF_CONNTRACK check in resolve_normal_ct()

2015-08-27 Thread Konstantin Khorenko
The commit is pushed to branch-rh7-3.10.0-229.7.2-ovz and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-229.7.2.vz7.6.2 -- commit 1ae3e69714effdf80dd8306271096d86607608b1 Author: Kirill Tkhai ktk...@odin.com Date: Thu Aug 27 20:32:43 2015 +0400 ve/net: Add

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

2015-08-27 Thread Vladimir Davydov
On Mon, Aug 24, 2015 at 02:10:49PM +0300, Cyrill Gorcunov wrote: ... Index: linux-pcs7.git/drivers/tty/pty.c === --- linux-pcs7.git.orig/drivers/tty/pty.c +++ linux-pcs7.git/drivers/tty/pty.c @@ -820,10 +820,566 @@ static void

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

2015-08-27 Thread Cyrill Gorcunov
On 08/27/2015 07:11 PM, Vladimir Davydov wrote: Hmm, checkpatch still has max_line_length set to 80. Could you please share a link to this agreement? It was long ago, a few maintainers said about own preference (Ingo and Andrew iirc) if I manage to find it will send you a link. fine.

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

2015-08-27 Thread Vladimir Davydov
On Thu, Aug 27, 2015 at 06:40:32PM +0300, Cyrill Gorcunov wrote: On Thu, Aug 27, 2015 at 06:00:28PM +0300, Vladimir Davydov wrote: + +static struct file_operations vtty_fops; + +#define vtty_match_index(idx)((idx) = 0 (idx) MAX_NR_VTTY_CONSOLES) nit: this line

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

2015-08-27 Thread Cyrill Gorcunov
On Thu, Aug 27, 2015 at 07:11:28PM +0300, Vladimir Davydov wrote: Hmm, checkpatch still has max_line_length set to 80. Could you please share a link to this agreement? fine. Wonder, do you really still sit on 80 chars terminal? I use a 12 laptop. With the window vertically split into