[CRIU] [PATCH 32/32] tools: cpt2 -- Add writing of inventory file

Cyrill Gorcunov gorcunov at openvz.org
Mon Apr 1 06:37:57 EDT 2013


On Mon, Apr 01, 2013 at 02:32:11PM +0400, Pavel Emelyanov wrote:
> On 03/31/2013 01:43 AM, Cyrill Gorcunov wrote:
> > 
> > Note the kIDs values are almost arbitrary at moment just to be
> > able to start restore procedure and they are subject for change.
> > 
> > Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> > ---
> >  tools/cpt2/src/convert.c | 53 ++++++++++++++++++++++++++++++++++++++++++++++++
> >  1 file changed, 53 insertions(+)
> > 
> 
> 
> > +	kids.pid_ns_id		= 2;
> > +	kids.net_ns_id		= 2;
> > +	kids.ipc_ns_id		= 2;
> > +	kids.uts_ns_id		= 2;
> > +	kids.mnt_ns_id		= 2;
> 
> Why 2?

 quote
 | > > Note the kIDs values are almost arbitrary at moment just to be
 | > > able to start restore procedure and they are subject for change.

I simply need to start restore procedure and make crtool's clone
with new pid namespace. This values are arbitrary ones and will
be changed to proper values later.


More information about the CRIU mailing list