https://bugzilla.kernel.org/show_bug.cgi?id=209025 Bug ID: 209025 Summary: The "VFIO_MAP_DMA failed: Cannot allocate memory" bug is back Product: Virtualization Version: unspecified Kernel Version: 5.9 rc1 and rc2 Hardware: x86-64 OS: Linux Tree: Mainline Status: NEW Severity: high Priority: P1 Component: kvm Assignee: virtualization_kvm@xxxxxxxxxxxxxxxxxxxx Reporter: rmuncrief@xxxxxxxxxxxxxxx Regression: No Created attachment 292143 --> https://bugzilla.kernel.org/attachment.cgi?id=292143&action=edit VM Fail Log My primary Windows 10 VM uses GPU/SATA/USB passthrough and it appears a regression has been introduced in kernel 5.9. The VM will not start with both rc1 and rc2 because of the "VFIO_MAP_DMA failed: Cannot allocate memory" error on all passthrough devices. I'm running an R7 3700X CPU, ASUS TUF Gaming X570-Plus MB, 16GB PC3200 DDR4, and two RX 580 GPUs (one dedicated to the VM passthrough). I've attached the relevant log excerpt to this report. By the way, the log only shows one device failing because QEMU/KVM exits on the first error. But I switched around all VM devices so they were the first encountered and each one failed in the same way, so it's not device related. The VM works fantastically with kernels 5.8.3 and 5.4.60. -- You are receiving this mail because: You are watching the assignee of the bug.