<div dir="ltr"><div><br><br>rror al iniciar dominio: Error interno: early end of file from monitor: possible problem:<br>2015-10-24T12:13:33.932445Z qemu-system-x86_64: -device vfio-pci,host=03:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on: VFIO_MAP_DMA: -12<br>2015-10-24T12:13:33.932499Z qemu-system-x86_64: -device vfio-pci,host=03:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on: vfio_dma_map(0x555eb9c815f0, 0x0, 0xc0000, 0x7f0fd7a00000) = -12 (Cannot allocate memory)<br>2015-10-24T12:13:33.932951Z qemu-system-x86_64: -device vfio-pci,host=03:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on: VFIO_MAP_DMA: -12<br>2015-10-24T12:13:33.932984Z qemu-system-x86_64: -device vfio-pci,host=03:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on: vfio_dma_map(0x555eb9c815f0, 0xc0000, 0x20000, 0x7f0fd7600000) = -12 (Cannot allocate memory)<br>2015-10-24T12:13:33.933375Z qemu-system-x86_64: -device vfio-pci,host=03:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on: VFIO_MAP_DMA: -12<br>2015-10-24T12:13:33.933671Z qemu-system-x86_64: -device vfio-pci,host=03:00.0,bus=root.1,addr=00.0,multi<br><br>and dmesg says:  vfio_pin_pages: RLIMIT_MEMLOCK (65536) exceeded<br><br></div><div>i try to change it with ulimit -l 4194304, but still failed with the same error... also read to increase the memlock in limits.conf, i use:<br>* soft memlock 4194304<br>* hard memlock 4194304<br></div><div>but nothing seems to work.<br><br></div><div><br></div><div>I using fedora 22 with 4.1.9-200 kernel, libvirt 1.2.18.1 and qemu 2.4.0.1-1 (virtualization repos)<br></div><div> and every commands and VM start it's using root commands.<br><br></div><div>also try with debian testing and works out the box, but i think in fedora virtual machines works flawless<br></div><div><br></div><div>PD: Sorry for bad english. spanish here.<br></div></div>