Windows 11 VM keeps crashing

I have a windows VM thats keeps crashing about every 24h. I force a restart and then it works. But cant keep restarting all the time.
Just says error on status

Log: qemu-system-x86_64: Issue while setting TUNSETSTEERINGEBPF: Invalid argument with fd: 61, prog_fd: -1

Host is Ubuntu 22.04 LTS. Latest updates etc on everything.

Any ideas? Worked fine in LXD.

Is this issue relevant to your case? qemu-system-x86_64: Issue while setting TUNSETSTEERINGEBPF: Invalid argument with fd: 13, prog_fd: -1 (#1355) · Issues · QEMU / QEMU · GitLab

Well i dont have any external qemu installed. Only whats included in incus. So qemu-system-x86_64 isnt installed on the host by me.

Incus installs qemu at /opt/incus/bin/qemu-system-x86_64.
Even LXD has a built-in installation of qemu.
That is, even if you have (or not) Qemu on your system, a separate version is installed for you.

QEMU emulator version 9.0.0 (v9.0.0-dirty)
So way past 4.6 :slight_smile:

Same.
I do not use Win VMs that much and I have not encountered this issue.

A quick search shows two cases where macvlan was involved. Do you use macvlan on this VM?

Have a look at this one, Some VMs crash at Boot

Mine boots and gets an ip. Usually crashes/freezes the day after. I use vlans. So yes macvlan.