Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In order to use macvlan with qemu and other tools that require a tap file descriptor, the macvtap driver adds a small backend with a character device with the same interface as the tun driver, with a minimum set of features. Macvtap interfaces are created in the same way as macvlan interfaces using ip link, but the netif is just used as a handle for configuration and accounting, while the data goes through the chardev. Each macvtap interface has its own character device, simplifying permission management significantly over the generic tun/tap driver. Cc: Patrick McHardy <[email protected]> Cc: Stephen Hemminger <[email protected]> Cc: David S. Miller" <[email protected]> Cc: "Michael S. Tsirkin" <[email protected]> Cc: Herbert Xu <[email protected]> Cc: Or Gerlitz <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information