On 01/19/2014 04:13 AM, The PowerTool
wrote:
No. Kvm does not support PCI passthrough in any form on hardware that doesn't support VT-d; it is too unsafe. Apparently Xen supports it in PV mode, but this too is completely unsafe. As far as passing through a VGA device. This is the complete bleeding edge of PCI device passthrough, and is difficult to the point of being practically impossible in many/most cases, especially for older VGA cards that weren't written with that idea in mind. Here is the page I was pointed to by Alex Williamson, who may have the most information on this topic: https://bbs.archlinux.org/viewtopic.php?id=162768
I was told to look for this line on Intel hosts: "PCI-DMA: Intel(R) Virtualization Technology for Directed I/O"
*very* unlikely to work, unless you're lucky enough to have one of the few cards that has had their "quirks" worked out.
Are you running virsh as root? Is this your only VGA card?
You haven't indicated what distro/version you're running, but on some versions of Fedora at least, you need to configure libvirt to run qemu processes as root rather than the qemu user (that wouldn't have caused a problem with nodedev-detach though, although a problem with selinux could have). I would suggest trying your experiment after 1) assuring that you're running virsh as root, 2) disabling selinux if your system has it, 3) setting the user/group in /etc/libvirt/qemu.conf to "root" and restarting libvirtd. However, since I think it's highly unlikely that you'll be successful in any case, I hesitate to use up your time doing that. Good luck. |
_______________________________________________ libvirt-users mailing list libvirt-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvirt-users