Re: [Devel] [PATCH] ve: add ability to set offset for monotonic time

2015-12-01 Thread Igor
On 11/30/2015 07:25 PM, Cyrill Gorcunov wrote: As far as I understand we need to save current time somewhere, then somehow pass it to destination machine and setup an offset. In pcs6 all this were saved in checkpoint image file and restored back by the kernel itself (so we only need to move the

Re: [Devel] [PATCH] ve: add ability to set offset for monotonic time

2015-12-01 Thread Cyrill Gorcunov
On Tue, Dec 01, 2015 at 11:07:22AM +0300, Igor wrote: > >As far as I understand we need to save current time somewhere, > >then somehow pass it to destination machine and setup an offset. > >In pcs6 all this were saved in checkpoint image file and restored > >back by the kernel itself (so we only

Re: [Devel] [PATCH rh7] vtty: Register devices in sysfs

2015-12-01 Thread Cyrill Gorcunov
On Mon, Nov 30, 2015 at 05:58:15PM +0300, Cyrill Gorcunov wrote: > On Mon, Nov 30, 2015 at 05:47:19PM +0300, Cyrill Gorcunov wrote: > > > > and dev_match_devt helper. > > > > > > Why not do it from userspace? > > > > You mean via udev? > > Drop this question. I got what you mean. Letme check.

Re: [Devel] [PATCH rh7] vtty: Register devices in sysfs

2015-12-01 Thread Vladimir Davydov
On Mon, Nov 30, 2015 at 05:14:53PM +0300, Cyrill Gorcunov wrote: > In pcs6 we explicitly create /sys/devices/virtual/ttyX > in init_ve_vtty, but in pcs7 the code has been reworked: > now all device matching is done via common tty_class > and dev_match_devt helper. > >

Re: [Devel] [PATCH rh7] vtty: Register devices in sysfs

2015-12-01 Thread Stanislav Kinsburskiу
1 дек. 2015 г. 12:29 PM пользователь Cyrill Gorcunov написал: > > On Tue, Dec 01, 2015 at 12:17:09PM +0100, Stanislav Kinsburskiy wrote: > > >Aftre a few conversations it seems the better option is to > > >merge this fix for Beta2 but for Beta2.5 simply > > > > > >  -

[Devel] [RFC rh7] tty: Revert custom virtualization

2015-12-01 Thread Cyrill Gorcunov
This patch reverts the following commits 32261dbb962f56b0 d6f07f1738511f50 ef7194625adefadf 7247bba9402a45c0 996c733ac0f34af0 953017eb9e823785 ee5a5380520330fe fd19fc2c70ae5da0 24fad9670914d675 a707f641083da9b3

Re: [Devel] [PATCH rh7] vtty: Register devices in sysfs

2015-12-01 Thread Stanislav Kinsburskiy
01.12.2015 11:17, Cyrill Gorcunov пишет: On Mon, Nov 30, 2015 at 05:58:15PM +0300, Cyrill Gorcunov wrote: On Mon, Nov 30, 2015 at 05:47:19PM +0300, Cyrill Gorcunov wrote: and dev_match_devt helper. Why not do it from userspace? You mean via udev? Drop this question. I got what you mean.

Re: [Devel] [PATCH rh7] vtty: Register devices in sysfs

2015-12-01 Thread Cyrill Gorcunov
On Tue, Dec 01, 2015 at 12:17:09PM +0100, Stanislav Kinsburskiy wrote: > >Aftre a few conversations it seems the better option is to > >merge this fix for Beta2 but for Beta2.5 simply > > > > - revert all our tty device-namespace code leaving with > >native code instead > > - setup proper