<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>I'm trying to pass-through my VGA card to a guest session.<br><br>I found:  http://www.linux-kvm.org/page/How_to_assign_devices_with_VT-d_in_KVM - which is very frustrating because there's no date on the documentation.  I suspect it's old.  It does clearly say that you must have VT-d support for pci pass-through.  It then goes on to say "Some work towards allowing this ["software pass-through"] were done, but the code never made it into KVM".  If this is old is there now support for PCI pass-through on hardware that doesn't support VT-d?<br><br>I have a HP p7-1456c which has:<br><br>Intel Core i5-3330 Processor (VT-x=yes, VT-d=yes)<br><a href="http://ark.intel.com/products/65509/Intel-Core-i5-3330-Processor-6M-Cache-up-to-3_20-GHz" target="_blank">http://ark.intel.com/products/65509/Intel-Core-i5-3330-Processor-6M-Cache-up-to-3_20-GHz</a><br><br>on a MB: H-Joshua-H61-UATX (with specs that say *nothing* about virtualization)<br><a href="http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&docname=c03135925#N98" target="_blank">http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&docname=c03135925#N98</a><br><br>and the H-Joshua-H61-UATX uses the Intel H61 Express Chipset (VT-d=No)<br><a href="http://ark.intel.com/products/52806/Intel-BD82H61-PCH?q=intel%20h61%20express%20chipset" target="_blank">http://ark.intel.com/products/52806/Intel-BD82H61-PCH?q=intel%20h61%20express%20chipset</a><br><br>On the KVM how to assign devices page it provides a way to verify IOMMU support on Intel:<br><br>]# dmesg | grep -e DMAR -e IOMMU<br>[    0.000000] ACPI: DMAR 00000000d8d29460 000B0 (v01 HPQOEM SLIC-CPC 00000001 INTL 00000001)<br>[    0.023074] dmar: IOMMU 0: reg_base_addr fed90000 ver 1:0 cap c0000020e60262 ecap f0101a<br>[    0.023078] dmar: IOMMU 1: reg_base_addr fed91000 ver 1:0 cap c9008020660262 ecap f0105a<br>[    0.023151] IOAPIC id 2 under DRHD base  0xfed91000 IOMMU 1<br><br>Does this mean I do have VT-d/IOMMU support???<br><br>I attempted to follow the basic instructions to pass through my VGA card:<br><br>]$ lspci -nn | grep VGA<br>00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller [8086:0152] (rev 09)<br><br>Then added to my domain definition:<br><br>    <hostdev mode='subsystem' type='pci' managed='yes'><br>      <source><br>        <address domain='0x0000' bus='0x00' slot='0x02' function='0x0'/><br>      </source><br>      <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/><br>    </hostdev><br><br>With that added code I consistently get "Connection to guest failed" messages and the guest fails to start.<br><br>/var/log/libvirt/qemu is empty.  No log.<br><br>So my 1st question is can I do this given my hardware?  If the answer is "yes" then this is where I'm stuck.<br><br>Additionally, I tried:<br><br>]$ virsh nodedev-detach pci_0000_00_02_0<br>error: Failed to detach device pci_0000_00_02_0<br>error: Failed to add PCI device ID '8086 0152' to pci-stub: Permission denied<br><br>My thinking was simply to verify if I could manually detach the device.  I couldn't find a reference searching for this error.  Any help would be greatly appreciated!<br><br>Thank you!<br>                                          </div></body>
</html>