> Indeed we have stale bridge.
> I cleanup this at vm start (on tap_plug more precisily).I have a sub for this
> PVE::Network::bridge_cleanup($iface)

Ah

> This can happen on vm_crash
>    I don't known what is the best way in this case ?
> 
> but also on vm shutdown (can be a shutdown from inside the guest for example)
>     I think for the second case, we should add a shutdown script "-netdev
> ....downscript=ifdown.sh).

Yes, a shutdown script would help in that case.
 
> for openvz veth, I don't known if it's possible to use a script at shutdown ?

Maybe we can use an action script for that:

http://openvz.org/Man/vzctl.8#ACTION_SCRIPTS

Maybe vps.umount?
_______________________________________________
pve-devel mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to