[CRIU] [PATCH 1/3] protobuf: Add VENET netdevice type

Pavel Emelyanov xemul at parallels.com
Thu Oct 10 01:18:53 PDT 2013


On 10/10/2013 11:56 AM, Cyrill Gorcunov wrote:
> On Thu, Oct 10, 2013 at 11:43:38AM +0400, Pavel Emelyanov wrote:
>>
>> OK, I've made my mind. Let's introduce the EXTERNAL netdevice type.
>> On dump this device configuration is just written into image.
>> On restore the device is assumed to exist and is just configured.
>> Venet should be such. We'd also have macvlans/vlans of that type.
> 
> you mean, on such device
> 
> 	dump_one_netdev(ND_TYPE__EXT, ifi, tb, fds, NULL);
> 
> should be called (note NULL last parameter here), right?

Yup.

> Then I don't get who will be configuring this device on
> restore, vzctl?

The run_scripts("setup-namespaces"); thing.

> 	Cyrill
> .
> 




More information about the CRIU mailing list