joelones Posted August 21, 2015 Share Posted August 21, 2015 Is vfio-bind a script that is no longer part of rc? -bash: /usr/local/sbin/vfio-bind: No such file or directory I'd like to pass in a usb controller. Link to comment
BobPhoenix Posted August 21, 2015 Share Posted August 21, 2015 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
joelones Posted August 21, 2015 Author Share Posted August 21, 2015 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
BobPhoenix Posted August 21, 2015 Share Posted August 21, 2015 I just used the instruction here: http://lime-technology.com/forum/index.php?topic=38259.0 for my nics when I pass them through. I was going to do the same this weekend for USB card and MB USB hub and see if it works. Link to comment
joelones Posted August 21, 2015 Author Share Posted August 21, 2015 Oh thanks, going to give that a go. Edit: Yep, works as well. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.