]> git.ipfire.org Git - thirdparty/qemu.git/commit
tap-linux: Open ipvtap and macvtap
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Tue, 8 Oct 2024 06:52:06 +0000 (15:52 +0900)
committerJason Wang <jasowang@redhat.com>
Mon, 10 Mar 2025 09:07:16 +0000 (17:07 +0800)
commitac2ff9b840ce82cc7d5fd9ce4fd3019a434d7dc9
tree0d8cf020ecf79b3d34f0dbfe419138fb7410451c
parent2938c36937559554a2408b008470c9a76cb9271a
tap-linux: Open ipvtap and macvtap

ipvtap and macvtap create a file for each interface unlike tuntap, which
creates one file shared by all interfaces. Try to open a file dedicated
to the interface first for ipvtap and macvtap.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
net/tap-linux.c