[CRIU] [PATCH 2/2] net: Restore venet link
    Pavel Emelyanov 
    xemul at parallels.com
       
    Tue Sep 17 14:49:46 EDT 2013
    
    
  
On 09/17/2013 10:43 PM, Cyrill Gorcunov wrote:
> 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.
Then use the restore_link_parms()
> .
> 
    
    
More information about the CRIU
mailing list