mirror of
https://gitlab.com/YuriAlek/vfio.git
synced 2024-11-11 07:10:26 +00:00
Troubleshooting guide. Just one thing but it's something
This commit is contained in:
parent
caab513b2c
commit
873767e21d
16
troubleshoot.md
Normal file
16
troubleshoot.md
Normal file
@ -0,0 +1,16 @@
|
||||
# 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.
|
Loading…
Reference in New Issue
Block a user