Re: [Announce] Checkpoint-restore tool v0.1

2012-07-31 Thread Cyrill Gorcunov
On Tue, Jul 31, 2012 at 12:21:58PM +0200, richard -rw- weinberger wrote: > On Tue, Jul 31, 2012 at 12:16 PM, Cyrill Gorcunov wrote: > > On Tue, Jul 31, 2012 at 12:08:22PM +0200, richard -rw- weinberger wrote: > >> On Tue, Jul 31, 2012 at 11:54 AM, Pavel Emelyanov > >> wrote: > >> >> Yeah, but I

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-31 Thread richard -rw- weinberger
On Tue, Jul 31, 2012 at 12:16 PM, Cyrill Gorcunov wrote: > On Tue, Jul 31, 2012 at 12:08:22PM +0200, richard -rw- weinberger wrote: >> On Tue, Jul 31, 2012 at 11:54 AM, Pavel Emelyanov >> wrote: >> >> Yeah, but I fear it's not that easy. >> >> We'd have to change crtools to work without

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-31 Thread Cyrill Gorcunov
On Tue, Jul 31, 2012 at 12:08:22PM +0200, richard -rw- weinberger wrote: > On Tue, Jul 31, 2012 at 11:54 AM, Pavel Emelyanov wrote: > >> Yeah, but I fear it's not that easy. > >> We'd have to change crtools to work without ptrace(). > > > > Well, this is hard. Using ptrace saved us from having

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-31 Thread richard -rw- weinberger
On Tue, Jul 31, 2012 at 11:54 AM, Pavel Emelyanov wrote: >> Yeah, but I fear it's not that easy. >> We'd have to change crtools to work without ptrace(). > > Well, this is hard. Using ptrace saved us from having many special-purpose > APIs for dumping various stuff (there will be an article about

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-31 Thread Pavel Emelyanov
On 07/31/2012 01:29 PM, richard -rw- weinberger wrote: > On Tue, Jul 31, 2012 at 11:07 AM, Pavel Emelyanov wrote: >> Sorry :( However, if you can help with patches on that issue that would be >> highly appreciated :) >> > > Yeah, but I fear it's not that easy. > We'd have to change crtools to

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-31 Thread richard -rw- weinberger
On Tue, Jul 31, 2012 at 11:07 AM, Pavel Emelyanov wrote: > Sorry :( However, if you can help with patches on that issue that would be > highly appreciated :) > Yeah, but I fear it's not that easy. We'd have to change crtools to work without ptrace(). -- Thanks, //richard -- To unsubscribe from

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-31 Thread Pavel Emelyanov
On 07/31/2012 12:57 PM, richard -rw- weinberger wrote: > On Tue, Jul 31, 2012 at 10:53 AM, Pavel Emelyanov wrote: >> On 07/30/2012 02:42 PM, richard -rw- weinberger wrote: >>> On Mon, Jul 23, 2012 at 10:53 AM, Pavel Emelyanov >>> wrote: This project is an attempt to implement the

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-31 Thread Cyrill Gorcunov
On Tue, Jul 31, 2012 at 10:57:58AM +0200, richard -rw- weinberger wrote: > > > >> crtools seem to use ptrace() to execute parasite system calls. > >> AFAIK this will only work if the target process is currently not > >> ptraced() by another process. > >> > > > > Yup, exactly. > > Dammit, I hoped

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-31 Thread richard -rw- weinberger
On Tue, Jul 31, 2012 at 10:53 AM, Pavel Emelyanov wrote: > On 07/30/2012 02:42 PM, richard -rw- weinberger wrote: >> On Mon, Jul 23, 2012 at 10:53 AM, Pavel Emelyanov >> wrote: >>> This project is an attempt to implement the checkpoint-restore functionality >>> for processes and containers

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-31 Thread Pavel Emelyanov
On 07/30/2012 02:42 PM, richard -rw- weinberger wrote: > On Mon, Jul 23, 2012 at 10:53 AM, Pavel Emelyanov wrote: >> This project is an attempt to implement the checkpoint-restore functionality >> for processes and containers without driving too much code into the kernel >> tree, >> but putting

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-31 Thread Pavel Emelyanov
On 07/30/2012 02:42 PM, richard -rw- weinberger wrote: On Mon, Jul 23, 2012 at 10:53 AM, Pavel Emelyanov xe...@parallels.com wrote: This project is an attempt to implement the checkpoint-restore functionality for processes and containers without driving too much code into the kernel tree,

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-31 Thread richard -rw- weinberger
On Tue, Jul 31, 2012 at 10:53 AM, Pavel Emelyanov xe...@parallels.com wrote: On 07/30/2012 02:42 PM, richard -rw- weinberger wrote: On Mon, Jul 23, 2012 at 10:53 AM, Pavel Emelyanov xe...@parallels.com wrote: This project is an attempt to implement the checkpoint-restore functionality for

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-31 Thread Cyrill Gorcunov
On Tue, Jul 31, 2012 at 10:57:58AM +0200, richard -rw- weinberger wrote: crtools seem to use ptrace() to execute parasite system calls. AFAIK this will only work if the target process is currently not ptraced() by another process. Yup, exactly. Dammit, I hoped we can get

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-31 Thread Pavel Emelyanov
On 07/31/2012 12:57 PM, richard -rw- weinberger wrote: On Tue, Jul 31, 2012 at 10:53 AM, Pavel Emelyanov xe...@parallels.com wrote: On 07/30/2012 02:42 PM, richard -rw- weinberger wrote: On Mon, Jul 23, 2012 at 10:53 AM, Pavel Emelyanov xe...@parallels.com wrote: This project is an attempt

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-31 Thread richard -rw- weinberger
On Tue, Jul 31, 2012 at 11:07 AM, Pavel Emelyanov xe...@parallels.com wrote: Sorry :( However, if you can help with patches on that issue that would be highly appreciated :) Yeah, but I fear it's not that easy. We'd have to change crtools to work without ptrace(). -- Thanks, //richard -- To

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-31 Thread Pavel Emelyanov
On 07/31/2012 01:29 PM, richard -rw- weinberger wrote: On Tue, Jul 31, 2012 at 11:07 AM, Pavel Emelyanov xe...@parallels.com wrote: Sorry :( However, if you can help with patches on that issue that would be highly appreciated :) Yeah, but I fear it's not that easy. We'd have to change

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-31 Thread richard -rw- weinberger
On Tue, Jul 31, 2012 at 11:54 AM, Pavel Emelyanov xe...@parallels.com wrote: Yeah, but I fear it's not that easy. We'd have to change crtools to work without ptrace(). Well, this is hard. Using ptrace saved us from having many special-purpose APIs for dumping various stuff (there will be an

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-31 Thread Cyrill Gorcunov
On Tue, Jul 31, 2012 at 12:08:22PM +0200, richard -rw- weinberger wrote: On Tue, Jul 31, 2012 at 11:54 AM, Pavel Emelyanov xe...@parallels.com wrote: Yeah, but I fear it's not that easy. We'd have to change crtools to work without ptrace(). Well, this is hard. Using ptrace saved us from

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-31 Thread richard -rw- weinberger
On Tue, Jul 31, 2012 at 12:16 PM, Cyrill Gorcunov gorcu...@openvz.org wrote: On Tue, Jul 31, 2012 at 12:08:22PM +0200, richard -rw- weinberger wrote: On Tue, Jul 31, 2012 at 11:54 AM, Pavel Emelyanov xe...@parallels.com wrote: Yeah, but I fear it's not that easy. We'd have to change

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-31 Thread Cyrill Gorcunov
On Tue, Jul 31, 2012 at 12:21:58PM +0200, richard -rw- weinberger wrote: On Tue, Jul 31, 2012 at 12:16 PM, Cyrill Gorcunov gorcu...@openvz.org wrote: On Tue, Jul 31, 2012 at 12:08:22PM +0200, richard -rw- weinberger wrote: On Tue, Jul 31, 2012 at 11:54 AM, Pavel Emelyanov xe...@parallels.com

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-30 Thread richard -rw- weinberger
On Mon, Jul 23, 2012 at 10:53 AM, Pavel Emelyanov wrote: > This project is an attempt to implement the checkpoint-restore functionality > for processes and containers without driving too much code into the kernel > tree, > but putting there "various oddball helper code" instead. Is CRIU able to

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-30 Thread richard -rw- weinberger
On Mon, Jul 23, 2012 at 10:53 AM, Pavel Emelyanov xe...@parallels.com wrote: This project is an attempt to implement the checkpoint-restore functionality for processes and containers without driving too much code into the kernel tree, but putting there various oddball helper code instead. Is

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-23 Thread Serge Hallyn
Quoting Pavel Emelyanov (xe...@parallels.com): > Fixing the bogus containers@ ml and adding cgroups@ one. Sorry :( > > == Original message == > > Hi! > > I'm glad to announce the first release of the checkpoint-restore tool. > > > This project is an attempt to implement the checkpoint-restore

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-23 Thread Pavel Emelyanov
Fixing the bogus containers@ ml and adding cgroups@ one. Sorry :( == Original message == Hi! I'm glad to announce the first release of the checkpoint-restore tool. This project is an attempt to implement the checkpoint-restore functionality for processes and containers without driving too

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-23 Thread Pavel Emelyanov
Fixing the bogus containers@ ml and adding cgroups@ one. Sorry :( == Original message == Hi! I'm glad to announce the first release of the checkpoint-restore tool. This project is an attempt to implement the checkpoint-restore functionality for processes and containers without driving too

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-23 Thread Serge Hallyn
Quoting Pavel Emelyanov (xe...@parallels.com): Fixing the bogus containers@ ml and adding cgroups@ one. Sorry :( == Original message == Hi! I'm glad to announce the first release of the checkpoint-restore tool. This project is an attempt to implement the checkpoint-restore