Hi,
does your host support the passthrough (I/O MMU virtualization: i.e.
VT-d for Intel, AMD-Vi for AMD CPUs)? Is it enabled in BIOS and kernel?
On 2016-11-16 08:38, Tahir Masood wrote:
Hi Guys,
I am trying to add a Broadcom Physical NIC to a virtual Machine as
Passthrough device. However I am getting following error.
Error starting domain: unsupported configuration: host doesn't support
passthrough of host PCI devices
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 88, in
cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 124, in tmpcb
callback(*args, **kwargs)
File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 83,
in newfn
ret = fn(self, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/domain.py", line 1404, in
startup
self._backend.create()
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1035, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: unsupported configuration: host doesn't support
passthrough of host PCI devices
libvirt allows to appply the changes to the VM xml configurations, but
gives error the moment I try to start the VM.
I have tried following approaches.
1- Open Virt-Manager, Shutdown VM, edit VM , add PCI hardware device ,
locate BroadCom NIC, apply changes. Then I restart the VM.
2- Also tried to add following XML tags one by one using 'virsh edit',
but got same error.
Tag -1
<hostdev mode='subsystem' type='pci' managed='yes'>
<source>
<address domain='0x0000' bus='0x02' slot='0x00'
function='0x1'/>
</source>
</hostdev>
Tag -2
<interface type='hostdev' managed='yes'>
<source>
<address type='pci' domain='0x0000' bus='0x02'
slot='0x00'
function='0x1'/>
</source>
</interface>
The detail of the BroadCOm NIC are as follows.
02:00.1 Ethernet controller: Broadcom Limited NetXtreme II BCM5709
Gigabit Ethernet (rev 20)
What would it take to add this NIC to VM as Passthrough Device?
Regards,
Tahir Masood
Senior Engineer,
xFlow Research Inc.
+92-300-9779473
tahir.masood(a)xflowresearch.com <mailto:tahir.masood@xflowresearch.com>
www.xflowresearch.com <
http://www.xflowresearch.com/>
_______________________________________________
libvirt-users mailing list
libvirt-users(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-users