mirror of https://gitlab.com/YuriAlek/vfio
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
454 B
454 B
Troubleshooting
QEMU can not allocate memory
qemu-system-x86_64: VFIO_MAP_DMA: -12
qemu-system-x86_64: vfio_dma_map(0x7fae44695a00, 0xc0000000, 0x40000, 0x7fab29e00000) = -12 (Cannot allocate memory)
qemu: hardware error: vfio: DMA mapping failed, unable to continue
Solution:
ulimit -l $(( $(echo $RAM | tr -d 'G')*1048576+10 ))
Note: This is already addressed in the windows.sh
script.