Re: [libvirt] [PATCH v2] qemu: cleanup tap devices on FreeBSD

2014-03-11 Thread Roman Bogorodskiy
Laine Stump wrote: This is also needed if virDomainNetGetActualType(net) == VIR_DOMAIN_NET_TYPE_NETWORK (since a libvirt virtual network is implemented using a bridge device connected to tap devices - see the corresponding create a tap device code for a network device at

Re: [libvirt] [PATCH v2] qemu: cleanup tap devices on FreeBSD

2014-03-03 Thread Laine Stump
On 02/27/2014 12:37 PM, Roman Bogorodskiy wrote: We have to explicitly destroy TAP devices on FreeBSD because they're not freed after being closed, otherwise we end up with orphaned TAP devices after destroying a domain. --- src/qemu/qemu_process.c | 7 +++ src/util/virnetdevtap.h | 6

[libvirt] [PATCH v2] qemu: cleanup tap devices on FreeBSD

2014-02-27 Thread Roman Bogorodskiy
We have to explicitly destroy TAP devices on FreeBSD because they're not freed after being closed, otherwise we end up with orphaned TAP devices after destroying a domain. --- src/qemu/qemu_process.c | 7 +++ src/util/virnetdevtap.h | 6 ++ 2 files changed, 13 insertions(+) diff --git