On 22/04/13 19:05, Ian Campbell wrote:
> On Mon, 2013-04-22 at 17:46 +0100, Roger Pau Monne wrote:
>>> +    offline)
>>
>> Don't you need a "remove" here?
>>
>> remove|offline)
>>      ...
>>
>> Or it doesn't matter because when the tap device is destroyed everything
>> is automagically cleaned?
> 
> Even if that were the case I wouldn't want to rely on it, so we should
> try and clean up explicitly.
> 
> Is this tap devices which only generates add/remove and not
> online/offline? Do you happen to know the sequence of events for both
> types of device?

It's all in libxl_linux.c, libxl__hotplug_nic in case you want to take a
look at the implementation, the sequence of events for HVM guests should be:

- online vif
- add tap
...
- offline vif
- remove tap

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to