<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hi Guys,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I am trying to add a Broadcom Physical NIC to a virtual Machine as Passthrough device. However I am getting following error.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Error starting domain: unsupported configuration: host doesn't support passthrough of host PCI devices<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Traceback (most recent call last):<o:p></o:p></p><p class=MsoNormal>  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 88, in cb_wrapper<o:p></o:p></p><p class=MsoNormal>    callback(asyncjob, *args, **kwargs)<o:p></o:p></p><p class=MsoNormal>  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 124, in tmpcb<o:p></o:p></p><p class=MsoNormal>    callback(*args, **kwargs)<o:p></o:p></p><p class=MsoNormal>  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 83, in newfn<o:p></o:p></p><p class=MsoNormal>    ret = fn(self, *args, **kwargs)<o:p></o:p></p><p class=MsoNormal>  File "/usr/share/virt-manager/virtManager/domain.py", line 1404, in startup<o:p></o:p></p><p class=MsoNormal>    self._backend.create()<o:p></o:p></p><p class=MsoNormal>  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1035, in create<o:p></o:p></p><p class=MsoNormal>    if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)<o:p></o:p></p><p class=MsoNormal>libvirtError: unsupported configuration: host doesn't support passthrough of host PCI devices<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>libvirt allows to appply the changes to the VM xml configurations, but gives error the moment I try to start the VM.<o:p></o:p></p><p class=MsoNormal>I have tried following approaches.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>1- Open Virt-Manager, Shutdown VM, edit VM , add PCI hardware device , locate BroadCom NIC, apply changes. Then I restart the VM.<o:p></o:p></p><p class=MsoNormal>2- Also tried to add following XML tags one by one using 'virsh edit', but got same error.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Tag -1<o:p></o:p></p><p class=MsoNormal><hostdev mode='subsystem' type='pci' managed='yes'><o:p></o:p></p><p class=MsoNormal>  <source><o:p></o:p></p><p class=MsoNormal>     <address domain='0x0000' bus='0x02' slot='0x00' function='0x1'/><o:p></o:p></p><p class=MsoNormal>  </source><o:p></o:p></p><p class=MsoNormal></hostdev><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Tag -2<o:p></o:p></p><p class=MsoNormal>   <interface type='hostdev' managed='yes'><o:p></o:p></p><p class=MsoNormal>     <source><o:p></o:p></p><p class=MsoNormal>       <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x1'/><o:p></o:p></p><p class=MsoNormal>     </source><o:p></o:p></p><p class=MsoNormal>   </interface><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The detail of the BroadCOm NIC are as follows.<o:p></o:p></p><p class=MsoNormal>02:00.1 Ethernet controller: Broadcom Limited NetXtreme II BCM5709 Gigabit Ethernet (rev 20)<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>What would it take to add this NIC to VM as Passthrough Device?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Regards,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Tahir Masood<o:p></o:p></p><p class=MsoNormal>Senior Engineer, <o:p></o:p></p><p class=MsoNormal>xFlow Research Inc.<o:p></o:p></p><p class=MsoNormal>+92-300-9779473<o:p></o:p></p><p class=MsoNormal><a href="mailto:tahir.masood@xflowresearch.com"><span style='color:blue'>tahir.masood@xflowresearch.com</span></a><o:p></o:p></p><p class=MsoNormal><a href="http://www.xflowresearch.com/" target="_blank"><span style='color:#1155CC'>www.xflowresearch.com</span></a><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>