Re: [PATCH 1/5] util: fix tap device name auto-generation for FreeBSD

2020-12-16 Thread Michal Privoznik
On 12/16/20 2:27 AM, Laine Stump wrote: The Linux implementation of virNetDevCreate() no longer requires a template ifname (e.g. "vnet%d") when it is called, but just generates a new name if ifname is empty. The FreeBSD implementation requires that the caller actually fill in a template ifname,

[PATCH 1/5] util: fix tap device name auto-generation for FreeBSD

2020-12-15 Thread Laine Stump
The Linux implementation of virNetDevCreate() no longer requires a template ifname (e.g. "vnet%d") when it is called, but just generates a new name if ifname is empty. The FreeBSD implementation requires that the caller actually fill in a template ifname, and will fail if ifname is empty. Since we