Arnd Bergmann wrote:
With the upcoming macvtap, we will want to open devices other than
/dev/net/tun but no longer need to call TUNSETIFF.

What are the names of these devices and how do you the character devices get created in the first place?

This really isn't an "arbitrary" char device as it doesn't implement the same interface as tap. Creation is done in a different manner.

This makes it possible to do 'qemu -net tap,ifname=/dev/tap/macvtap0'
to refer to a chardev in addition to the current way of doing
'qemu -net tap,ifname=tap0' to refer to a tap network interface
set with TUNSETIFF. This is consistent with what we do on BSD.

We definitely don't want to overload ifname like this. /dev/tap/macvtap0 is clearly not the interface name.

Regards,

Anthony Liguori


Reply via email to