Code: Alles auswählen
qemu-system-x86_64: VFIO_MAP_DMA: -12
qemu-system-x86_64: vfio_dma_map(0x558bb2611530, 0xc0000, 0x18000, 0x7f73afec0000) = -12 (Cannot allocate memory)
qemu: hardware error: vfio: DMA mapping failed, unable to continue
![NoPaste-Eintrag](./ext/phpbbde/pastebin/styles/debianforumde/theme/images/icon_pastebin.gif)
Ich starte die VM mit diesem Skript:
Code: Alles auswählen
qemu-system-x86_64 \
-machine type=pc-q35-3.1,accel=kvm,usb=on \
-cpu host,-svm \
-smp 6,sockets=1,cores=6,threads=1 \
-m 4096 \
-vga vmware \
-k de \
-rtc base=utc,clock=vm \
-device usb-tablet \
-net none \
-device vfio-pci,host=03:00.0,bus=pcie.0 \
-device virtio-scsi-pci,id=scsi \
-drive file=/var/kvm/debian-stretch.img,id=disk0,snapshot=off,cache=writethrough,format=raw,if=none \
-device scsi-hd,drive=disk0 \
-soundhw ac97 \
-boot c