Jump to content

vfio-bind location


joelones

Recommended Posts

You shouldn't need to do the vfio-bind process any more.  unRAID takes care of that automatically now.  I know I've never had to use it to pass through a network card.  I could swear I didn't for a USB card either but I don't currently have that setup.  I can try it out this weekend if you want me to as I think I have a 3.0 USB card I could put in and test out on a Windows VM.

Link to comment

So what's only needed is the appropriate line in the xml? This is what I have:

 

    <qemu:arg value='-device'/>
    <qemu:arg value='vfio-pci,host=00:16.0,bus=root.1,addr=02.0'/>

 

If I don't do the vfio-bind thing, I get an error:

 

2015-08-21T19:09:21.725929Z qemu-system-x86_64: -device vfio-pci,host=00:16.0,bus=root.1,addr=02.0: vfio: error, group 14 is not viable, please ensure all devices within the iommu_group are bound to their vfio bus driver.
2015-08-21T19:09:21.725979Z qemu-system-x86_64: -device vfio-pci,host=00:16.0,bus=root.1,addr=02.0: vfio: failed to get group 14
2015-08-21T19:09:21.726003Z qemu-system-x86_64: -device vfio-pci,host=00:16.0,bus=root.1,addr=02.0: Device initialization failed
2015-08-21T19:09:21.726026Z qemu-system-x86_64: -device vfio-pci,host=00:16.0,bus=root.1,addr=02.0: Device 'vfio-pci' could not be initialized
2015-08-21 19:09:21.756+0000: shutting down

 

IOMMU Groups:

 

/sys/kernel/iommu_groups/14/devices/0000:00:16.0
/sys/kernel/iommu_groups/14/devices/0000:00:16.2

 

It sort of seems individuals are still using this method as per the latest posts here: http://lime-technology.com/forum/index.php?topic=36768.msg402777#msg402777

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...