On Sat, Aug 03, 2013 at 10:20:41PM -0400, Brad Smith wrote: > The following patch simplifies the *BSD tap/tun code and makes use of numbered > tap/tun interfaces on all *BSD OS's. NetBSD has a patch in their pkgsrc tree > to make use of this feature and DragonFly also supports this as well. > > Signed-off-by: Brad Smith <b...@comstyle.com>
I confirmed that the NetBSD tun driver does use /dev/tap%d by default. There are not other CONFIG_BSD=y targets listed in ./configure besides FreeBSD/kFreeBSD, OpenBSD, and Darwin. Therefore this patch is safe. Thanks, applied to my net-next tree: https://github.com/stefanha/qemu/commits/net-next Stefan