On 06/20/2013 03:30 AM, Mario Ceresa wrote:
Dear all,
does anybody know if it is currently possible to do GPU passthrough in kvm? I
have access to a dual Quadro 4000 setup and I would like to pass the second
one to kvm for use in a VM.
I read a lot on internet and it seems feasible [1, 2, 3] and there is even a
reported success case [5].
However when I start the VM the host reboots with PCIe error 928: Completion
timeout.
My current setup is:
* Fedora 18 with 3.9.4-200 x86_64
* dmesg | grep -e DMAR -e IOMMU shows that they are both enabled
* nvidia driver installed from rpmfusion
* I use vfio assignment as per [4]
Thanks and regards,
Mario
[1]
http://www.linux-kvm.org/page/VGA_device_assignment
[2]
https://bbs.archlinux.org/viewtopic.php?id=162768
[3]
http://samos-it.com/removedetach-a-pci-device-linux-kvm-vga-passthrgough-...
[4]
https://fedoraproject.org/wiki/QA:Testcase_Virtualization_KVM_PCI_Device_...
[5]
http://tavi-tech.blogspot.com.es/2012/05/vga-passthrough-kvm-fedora-17-an...
CC-ing Alex (the VFIO guy)
What qemu and libvirt versions are you using?
- Cole