Bug#1102914: VMs don't start up when being passed through a PCI device
Got same issue on my VM system.
Just wanted to make it known it isn't just single system specific.
For me too just reverting to previous kernel works.
/proc/iomem doesn't show anything reserving the VF.
Also tried with the host ixgbevf driver loaded, which I have normally blacklisted with no change.
On virsh start:
error: internal error: qemu unexpectedly closed the monitor: 2025-04-14T03:45:52.924753Z qemu-system-x86_64: -device {"driver":"vfio-pci","host":"0000:24:10.1","id":"hostdev0","bus":"pci.6","addr":"0x0"}: VFIO_MAP_DMA failed: Cannot allocate memory
2025-04-14T03:45:52.930888Z qemu-system-x86_64: -device {"driver":"vfio-pci","host":"0000:24:10.1","id":"hostdev0","bus":"pci.6","addr":"0x0"}: vfio 0000:24:10.1: failed to setup container for group 35: memory listener initialization failed: Region pc.bios: vfio_dma_map(0x55e2e9d11b50, 0xfffc0000, 0x40000, 0x7fb5f7e00000) = -2 (No such file or directory)
<hostdev mode='subsystem' type='pci' managed='yes'>
<source>
<address domain='0x0000' bus='0x24' slot='0x10' function='0x1'/>
</source>
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
</hostdev>
Permissions for /dev/vfio/vfio were read and write for everyone, and /dev/vfio was read and execute for everyone, which seems to be right.
AsRock Rack X570D4U-2L2T as the MB and using the integrated Intel X550-AT2 10G LAN VF:s.
Unfortunately, I don't have the right knowledge to try to do the bisecting right now.
Any good sources to try to learn?
Reply to: