June 2, 201610 yr As the title stated, I can't get a VM to boot when using a external graphics card. I hope its something simple that I'm doing wrong. All help is appreciated, the below text is the error I'm getting. internal error: early end of file from monitor: possible problem: 2016-06-02T16:15:47.184063Z qemu-system-x86_64: -device vfio-pci,host=01:00.0,bus=root.1,addr=00.0,multifunction=on: vfio: failed to set iommu for container: Operation not permitted 2016-06-02T16:15:47.184127Z qemu-system-x86_64: -device vfio-pci,host=01:00.0,bus=root.1,addr=00.0,multifunction=on: vfio: failed to setup container for group 11 2016-06-02T16:15:47.184138Z qemu-system-x86_64: -device vfio-pci,host=01:00.0,bus=root.1,addr=00.0,multifunction=on: vfio: failed to get group 11 2016-06-02T16:15:47.184150Z qemu-system-x86_64: -device vfio-pci,host=01:00.0,bus=root.1,addr=00.0,multifunction=on: Device initialization failed 2016-06-02T16:15:47.184163Z qemu-system-x86_64: -device vfio-pci,host=01:00.0,bus=root.1,addr=00.0,multifunction=on: Device 'vfio-pci' could not be initialized OK
June 3, 201610 yr hey, what are your syslinux.cfg settings? Did you try this line? append intel_iommu=on vfio_iommu_type1.allow_unsafe_interrupts=1 pcie_acs_override=downstream initrd=/bzroot What system you are using? especially the Mainboard. What about VT-d function. Did you enable it in the BIOS?
June 3, 201610 yr As the title stated, I can't get a VM to boot when using a external graphics card. I hope its something simple that I'm doing wrong. All help is appreciated, the below text is the error I'm getting. internal error: early end of file from monitor: possible problem: 2016-06-02T16:15:47.184063Z qemu-system-x86_64: -device vfio-pci,host=01:00.0,bus=root.1,addr=00.0,multifunction=on: vfio: failed to set iommu for container: Operation not permitted 2016-06-02T16:15:47.184127Z qemu-system-x86_64: -device vfio-pci,host=01:00.0,bus=root.1,addr=00.0,multifunction=on: vfio: failed to setup container for group 11 2016-06-02T16:15:47.184138Z qemu-system-x86_64: -device vfio-pci,host=01:00.0,bus=root.1,addr=00.0,multifunction=on: vfio: failed to get group 11 2016-06-02T16:15:47.184150Z qemu-system-x86_64: -device vfio-pci,host=01:00.0,bus=root.1,addr=00.0,multifunction=on: Device initialization failed 2016-06-02T16:15:47.184163Z qemu-system-x86_64: -device vfio-pci,host=01:00.0,bus=root.1,addr=00.0,multifunction=on: Device 'vfio-pci' could not be initialized OK Which method are you using to pass through gpu? Hostdev or qemu-arg? When I try qemu-arg, I get that same error, which you can fix by editing the /etc/libvirt/qemu.conf and adding that group to the cgroup_device_acl argument
June 4, 201610 yr I am getting the same problem, but mine is grp43 When I tested editing /etc/libvirt/qemu.conf and adding grp43 the error message went away and the VM goes green when I start it, but the monitor doesnt turn on, and the VM itself doesnt seem to turn on, tried accessing the VM via RDP with no luck and I cannot ping it either. The weird thing is it worked before when my gfx was plugged into another pcie but I was only getting x8 speed and not x16 and terrible FPS in games. Now the gfx is connected the first pcie. Using a ASRock - EP2C602-4L/D16, I also tried updating the bios, same problem.
June 5, 201610 yr did your boot up your VM with VNC as second Card? So you can see what happens. Check your Disk Path. Perhaps he has been lost from the edit.also happened to me
Archived
This topic is now archived and is closed to further replies.