Hi there,
after upgrading to the latest kernel on Debian 11 (linux-image-5.10.0-37-amd64) I have an issue using libvirt with qemu/kvm virtual machines and macvtap networking. When a machine is shut down, libvirt can not delete the corresponding macvtap device. Thus, starting the machine again is not possible. After manually removing the macvtap device using `ip link delete` the vm can be started again.
In the journal the following message is shown:
Dec 17 13:19:27 iblis libvirtd[535]: error destroying network device macvtap0: Operation not supported
After downgrading the kernel to linux-image-5.10.0-36-amd64, the problem disappears. I tested this on a fresh minimal install of Debian 11 - to exclude that anything else on my production machines is causing this issue.
Since the older kernel does not have this issue, I assume this is related to the kernel and not to libvirt?
I tried to check for bug reports of the kernel package, but the bug tracker finds no reports and even states that the package does not exist (I used the "Bug reports" link on https://packages.debian.org/bullseye/linux-image-5.10.0-37-amd64). This left me a bit puzzled. Since I don't have experience with the debian bug reporting process, I had no other idea than writing to this list.
Best regards,
Roland Schwarzkopf
-- Dr. Roland Schwarzkopf <rschwarzkopf@mathematik.uni-marburg.de> Dept. of Mathematics and Computer Science, IT Solutions University of Marburg, Hans-Meerwein-Str. 6, D-35032 Marburg, Germany Tel: +4964212821523, Fax: +4964212821573