Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #90503

Libvirt can no longer delete macvtap devices after kernel update (Debian 11)

From Roland Schwarzkopf <rschwarzkopf@mathematik.uni-marburg.de>
Newsgroups linux.debian.kernel
Subject Libvirt can no longer delete macvtap devices after kernel update (Debian 11)
Date 2025-12-17 14:10 +0100
Message-ID <M2ZrX-3A3I-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to linux.debian.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Libvirt can no longer delete macvtap devices after kernel update  (Debian 11) Roland Schwarzkopf <rschwarzkopf@mathematik.uni-marburg.de> - 2025-12-17 14:10 +0100
  Re: Libvirt can no longer delete macvtap devices after kernel update  (Debian 11) Salvatore Bonaccorso <carnil@debian.org> - 2025-12-17 20:30 +0100
    Re: Libvirt can no longer delete macvtap devices after kernel update  (Debian 11) Roland Schwarzkopf <rschwarzkopf@mathematik.uni-marburg.de> - 2025-12-18 15:10 +0100
      Re: [regression 5.10.y] Libvirt can no longer delete macvtap devices  after backport of a6cec0bcd342 ("net: rtnetlink: add bulk delete support  flag") to 5.10.y series (Debian 11) Thorsten Leemhuis <regressions@leemhuis.info> - 2025-12-19 11:10 +0100
        Re: [regression 5.10.y] Libvirt can no longer delete macvtap  devices after backport of a6cec0bcd342 ("net: rtnetlink: add bulk delete  support flag") to 5.10.y series (Debian 11) Ben Hutchings <benh@debian.org> - 2026-01-02 21:20 +0100
          Re: [regression 5.10.y] Libvirt can no longer delete macvtap devices  after backport of a6cec0bcd342 ("net: rtnetlink: add bulk delete support  flag") to 5.10.y series (Debian 11) Thorsten Leemhuis <regressions@leemhuis.info> - 2026-01-05 13:50 +0100
      Re: [regression 5.10.y] Libvirt can no longer delete macvtap devices  after backport of a6cec0bcd342 ("net: rtnetlink: add bulk delete support  flag") to 5.10.y series (Debian 11) Roland Schwarzkopf <rschwarzkopf@mathematik.uni-marburg.de> - 2025-12-19 18:20 +0100

csiph-web