raspberrypi / linux

Kernel source tree for Raspberry Pi-provided kernel builds. Issues unrelated to the linux kernel should be posted on the community forum at https://forums.raspberrypi.com/
Other
11.03k stars 4.95k forks source link

Please enable CONFIG_MACVTAP kernel option #4413

Open jbrnd opened 3 years ago

jbrnd commented 3 years ago

Please enable the MACVTAP kernel option (CONFIG_MACVTAP=m). This option is necessary for having bridge-like networking on KVM VMs with the host root filesystem on NFS (since regular bridge networking doesn't work in that case),

I have recompiled the kernel on my Raspberry Pi 4 (see version information below), and everything works fine with the MACVTAP option enabled.

System Information

Raspberry Pi 4 Model B Rev 1.4 PRETTY_NAME="Debian GNU/Linux 10 (buster)" NAME="Debian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)"

Raspberry Pi reference 2020-05-27 Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 30e2dd32ba47cc3bec 15ab1413c16a17e5797775, stage4

Linux maersk 5.10.38-v8+ #1 SMP PREEMPT Mon May 24 13:22:59 EDT 2021 aarch64 GNU /Linux Revision : d03114 Serial : 10000000fa7a652f Model : Raspberry Pi 4 Model B Rev 1.4 Throttled flag : throttled=0x0 Camera : supported=0 detected=0

pelwell commented 3 years ago

This options adds two modules totalling ~50kB, and only on arm64, so it's an easy yes.

See https://github.com/raspberrypi/linux/commit/4e55e875bad40cd9419ab76262b745d9c016057d.