Re: [libvirt] [PATCH] util: improve virNetDevTapGetRealDeviceName

2018-04-24 Thread Roman Bogorodskiy
Michal Privoznik wrote: > On 04/08/2018 05:40 PM, Roman Bogorodskiy wrote: > > virNetDevTapGetRealDeviceName() is used on FreeBSD because interface > > names (such as one sees in output of tools like ifconfig(8)) might not > > match their /dev entity names, and for bhyve we need the latter. > >

Re: [libvirt] [PATCH] util: improve virNetDevTapGetRealDeviceName

2018-04-11 Thread Michal Privoznik
On 04/08/2018 05:40 PM, Roman Bogorodskiy wrote: > virNetDevTapGetRealDeviceName() is used on FreeBSD because interface > names (such as one sees in output of tools like ifconfig(8)) might not > match their /dev entity names, and for bhyve we need the latter. > > Current implementation is not

[libvirt] [PATCH] util: improve virNetDevTapGetRealDeviceName

2018-04-08 Thread Roman Bogorodskiy
virNetDevTapGetRealDeviceName() is used on FreeBSD because interface names (such as one sees in output of tools like ifconfig(8)) might not match their /dev entity names, and for bhyve we need the latter. Current implementation is not very efficient because in order to find /dev name, it goes