Close fd's of persistent tap devices
Close fd's of persistent tap devices

When passing a NULL tapfd argument to brAddTap, we need to close the fd
of the tap device. If we don't, libvirt will keep the fd open
indefinitely and renders the the guest unable to configure its side of
the tap device.

Signed-off-by: Soren Hansen <5a44a2b2ff2077806bfd50ca0791c72a2dac44c0@linux2go.dk>

rmarwaha/libvirt,amery/libvirt-vserver,jeckersb/libvirt,rlaager/libvirt,danwent/libvirt-ovs,rmarwaha/libvirt1,trainstack/libvirt,dumbbell/libvirt,jfehlig/libvirt,jeckersb/libvirt,sshah-solarflare/Libvirt-PCI-passthrough-,jeckersb/libvirt,datto/libvirt,jfehlig/libvirt,andreabolognani/libvirt,VenkatDatta/libvirt,eskultety/libvirt,zippy2/libvirt,elmarco/libvirt,iam-TJ/libvirt,trainstack/libvirt,emaste/libvirt,emaste/libvirt,warewolf/libvirt,cbosdo/libvirt,libvirt/libvirt,novel/fbsd-libvirt,kantai/libvirt-vfork,taget/libvirt,wiedi/libvirt,dumbbell/libvirt,zippy2/libvirt,zhlcindy/libvirt-1.1.4-maintain,siboulet/libvirt-openvz,emaste/libvirt,danwent/libvirt-ovs,zippy2/libvirt,leilihh/libvirt,bjzhang/libvirt,zhlcindy/libvirt-1.1.4-maintain,nertpinx/libvirt,usc-isi/libvirt,jeckersb/libvirt,crobinso/libvirt,crobinso/libvirt,rmarwaha/libvirt1,iam-TJ/libvirt,fabianfreyer/libvirt,agx/libvirt,warewolf/libvirt,siboulet/libvirt-openvz,nertpinx/libvirt,sshah-solarflare/Libvirt-PCI-passthrough-,zhlcindy/libvirt-1.1.4-maintain,crobinso/libvirt,datto/libvirt,dumbbell/libvirt,danwent/libvirt-ovs,dumbbell/libvirt,elmarco/libvirt,wiedi/libvirt,shugaoye/libvirt,usc-isi/libvirt,leilihh/libvirt,libvirt/libvirt,iam-TJ/libvirt,jeckersb/libvirt,trainstack/libvirt,eskultety/libvirt,rbu/libvirt,trainstack/libvirt,rlaager/libvirt,rlaager/libvirt,novel/fbsd-libvirt,leilihh/libvirt,bjzhang/libvirt,andreabolognani/libvirt,leilihh/libvirt,novel/fbsd-libvirt,iam-TJ/libvirt,rbu/libvirt,novel/fbsd-libvirt,rmarwaha/libvirt1,eskultety/libvirt,iam-TJ/libvirt,rmarwaha/libvirt,shugaoye/libvirt,shugaoye/libvirt,datto/libvirt,fabianfreyer/libvirt,novel/fbsd-libvirt,soulxu/libvirt-xuhj,rmarwaha/libvirt,rlaager/libvirt,elmarco/libvirt,agx/libvirt,taget/libvirt,iam-TJ/libvirt,bjzhang/libvirt,iam-TJ/libvirt,kantai/libvirt-vfork,fabianfreyer/libvirt,VenkatDatta/libvirt,olafhering/libvirt,wiedi/libvirt,zippy2/libvirt,leilihh/libvirt,nertpinx/libvirt,cbosdo/libvirt,amery/libvirt-vserver,warewolf/libvirt,foomango/libvirt,datto/libvirt,kantai/libvirt-vfork,rmarwaha/libvirt,soulxu/libvirt-xuhj,jardasgit/libvirt,taget/libvirt,amery/libvirt-vserver,bjzhang/libvirt,VenkatDatta/libvirt,warewolf/libvirt,usc-isi/libvirt,agx/libvirt,jardasgit/libvirt,agx/libvirt,emaste/libvirt,novel/fbsd-libvirt,warewolf/libvirt,olafhering/libvirt,novel/fbsd-libvirt,jardasgit/libvirt,jfehlig/libvirt,sshah-solarflare/Libvirt-PCI-passthrough-,datto/libvirt,danwent/libvirt-ovs,amery/libvirt-vserver,olafhering/libvirt,olafhering/libvirt,jardasgit/libvirt,rbu/libvirt,foomango/libvirt,rmarwaha/libvirt,libvirt/libvirt,elmarco/libvirt,trainstack/libvirt,soulxu/libvirt-xuhj,sshah-solarflare/Libvirt-PCI-passthrough-,VenkatDatta/libvirt,emaste/libvirt,leilihh/libvirt,trainstack/libvirt,wiedi/libvirt,fabianfreyer/libvirt,soulxu/libvirt-xuhj,amery/libvirt-vserver,warewolf/libvirt,siboulet/libvirt-openvz,usc-isi/libvirt,soulxu/libvirt-xuhj,jfehlig/libvirt,rlaager/libvirt,nertpinx/libvirt,usc-isi/libvirt,taget/libvirt,dumbbell/libvirt,eskultety/libvirt,dumbbell/libvirt,bjzhang/libvirt,agx/libvirt,eskultety/libvirt,rmarwaha/libvirt1,siboulet/libvirt-openvz,emaste/libvirt,foomango/libvirt,kantai/libvirt-vfork,cbosdo/libvirt,andreabolognani/libvirt,andreabolognani/libvirt,jeckersb/libvirt,wiedi/libvirt,shugaoye/libvirt,sshah-solarflare/Libvirt-PCI-passthrough-,fabianfreyer/libvirt,foomango/libvirt,cbosdo/libvirt,nertpinx/libvirt,rbu/libvirt,shugaoye/libvirt,taget/libvirt,foomango/libvirt,rmarwaha/libvirt1,rbu/libvirt,emaste/libvirt,crobinso/libvirt,novel/fbsd-libvirt,jardasgit/libvirt,siboulet/libvirt-openvz,rmarwaha/libvirt,zhlcindy/libvirt-1.1.4-maintain,novel/fbsd-libvirt,andreabolognani/libvirt,jeckersb/libvirt,kantai/libvirt-vfork,warewolf/libvirt,VenkatDatta/libvirt,danwent/libvirt-ovs,wiedi/libvirt,zhlcindy/libvirt-1.1.4-maintain,wiedi/libvirt,rmarwaha/libvirt1,cbosdo/libvirt,libvirt/libvirt,elmarco/libvirt,trainstack/libvirt