[CRIU] [PATCH] actions: report pid in the post-dump notification
Andrew Vagin
avagin at parallels.com
Mon Mar 30 04:03:37 PDT 2015
On Mon, Mar 30, 2015 at 01:24:55PM +0300, Pavel Emelyanov wrote:
> On 03/30/2015 12:54 PM, Andrey Vagin wrote:
> > libcontainer saves PID in a state file.
> >
> > Signed-off-by: Andrey Vagin <avagin at openvz.org>
> > ---
> > cr-service.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/cr-service.c b/cr-service.c
> > index 45db04b..0256764 100644
> > --- a/cr-service.c
> > +++ b/cr-service.c
> > @@ -163,6 +163,7 @@ int send_criu_rpc_script(enum script_actions act, char *name, int fd)
> >
> > switch (act) {
> > case ACT_SETUP_NS:
> > + case ACT_POST_DUMP:
>
> Post-dump?! Doesn't the caller know this pid already?
I wanted to say post-restore. Sorry. Pls, ignore this patch.
>
> > /*
> > * FIXME pid is required only once on
> > * restore. Need some more sane way of
> >
>
More information about the CRIU
mailing list