Re: [libvirt] [PATCH v2] qemu: clean up network interfaces before qemuProcessKill is called in qemuProcessStop

2017-05-08 Thread Daniel P. Berrange
On Mon, May 08, 2017 at 03:03:30PM +0800, ZhiPeng Lu wrote: > In qemuProcessStop we explicitly remove the port from the openvswitch bridge > after > qemuProcessKill is called. But there is a certain interval of time between > deleting tap device and removing it from bridge. The problem occurs when

[libvirt] [PATCH v2] qemu: clean up network interfaces before qemuProcessKill is called in qemuProcessStop

2017-05-08 Thread ZhiPeng Lu
In qemuProcessStop we explicitly remove the port from the openvswitch bridge after qemuProcessKill is called. But there is a certain interval of time between deleting tap device and removing it from bridge. The problem occurs when two vms start and shutdown with the same name's network interface a