Debian kernel 6.1.0-33-amd64 VFIO_MAP_DMA issue

Created an account just to reply to this.

I’ve been banging my head against my desk at work for a few hours now. I’ve updated my Debian 12 machine and after reboot it wouldn’t start my VM that has an NVME SSD passed-through. The libvirt logs show:

qemu-system-x86_64: VFIO_MAP_DMA failed: Cannot allocate memory

Now I’ve done some changes to the hardware too, so I didn’t attribute the problem to the Debian update at first. But seeing this and rebooting with 6.1.0-32 solved the problem.

I guess something is wrong with 6.1.0-33.

2 Likes