[CRIU] [PATCH 2/2] net: Restore venet link

Cyrill Gorcunov gorcunov at gmail.com
Tue Sep 17 14:43:11 EDT 2013


On Tue, Sep 17, 2013 at 10:32:27PM +0400, Pavel Emelyanov wrote:
> On 09/17/2013 07:47 PM, Cyrill Gorcunov wrote:
> > 
> > Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> > ---
> >  net.c | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> 
> 
> > @@ -324,6 +324,7 @@ static int restore_link(NetDeviceEntry *nde, int nlsk)
> >  
> >  	switch (nde->type) {
> >  	case ND_TYPE__LOOPBACK:
> > +	case ND_TYPE__VENET:
> >  		return restore_one_link(nde, nlsk, NULL);
> 
> venet devices appear automatically (by default) in openvz cts.

Yes, but they are down, this call brings it back to up.


More information about the CRIU mailing list