Troubleshooting guide. Just one thing but it's something

This commit is contained in:
yurialek 2018-11-01 13:49:50 +01:00
parent caab513b2c
commit 873767e21d

16
troubleshoot.md Normal file
View 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.