[CRIU] [PATCH 00/19] Parasite daemon mode, v1

Cyrill Gorcunov gorcunov at openvz.org
Wed Feb 27 02:55:59 EST 2013


On Wed, Feb 27, 2013 at 11:28:54AM +0400, Andrew Vagin wrote:
> On Tue, Feb 26, 2013 at 05:08:42PM +0400, Cyrill Gorcunov wrote:
> > 
> > Hi guys, I'm pleased to announce that named "parasite daemon mode"
> > where we switch parasite code to a daemon which waits for commands
> > from main crtools module.
> 
> I think a dumped application should be resumed, if crtools dump crashed.
> 
> I applied the next patch:
> 
> diff --git a/cr-dump.c b/cr-dump.c
> index 3e8ef05..4edaf41 100644
> --- a/cr-dump.c
> +++ b/cr-dump.c
> @@ -418,6 +418,7 @@ static int dump_task_mm(pid_t pid, const struct
> proc_pid_stat *stat,
>         MmEntry mme = MM_ENTRY__INIT;
>         int ret = -1;
>  
> +       BUG();
>         mme.mm_start_code = stat->start_code;
>         mme.mm_end_code = stat->end_code;
>         mme.mm_start_data = stat->start_data;
> 
> bash -x test/zdtm.sh static/busyloop00

OK, so as being discussed face to face, seems switching
to unix sockets should be more flexible than using futexes
here. I'll prepare a new patch for that (this changes
last patch only so rest of series remains valid).


More information about the CRIU mailing list