Hi, I'm giving up on this, can't figure out what I'm doing wrong.
I have a USB2 PCI 5 ports card that I want to passthrough to a windows 10 VM
Here's my server configuration, I have my Kingston Technology DataTraveler G4 flash drive pluged in one of the USB ports on the PCI
root@unraid:~# lspci | grep USB
00:1a.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
00:1a.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
00:1a.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
00:1a.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
00:1d.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
00:1d.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
00:1d.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
00:1d.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
08:04.0 USB controller: VIA Technologies, Inc. VT82xx/62xx UHCI USB 1.1 Controller (rev 61)
08:04.1 USB controller: VIA Technologies, Inc. VT82xx/62xx UHCI USB 1.1 Controller (rev 61)
08:04.2 USB controller: VIA Technologies, Inc. USB 2.0 (rev 63)
root@unraid:~# lsusb
Bus 003 Device 002: ID 0951:1666 Kingston Technology DataTraveler G4
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 011 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 010 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0781:5406 SanDisk Corp. Cruzer Micro U3
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
root@unraid:~# readlink /sys/bus/usb/devices/usb3
../../../devices/pci0000:00/0000:00:1e.0/0000:08:04.2/usb3
Here's what I figured out to put in my xml
<hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source>
<address domain='0x0000' bus='0x08' slot='0x04' function='0x2'/>
</source>
</hostdev>
And here's the error I get when I try to start the VM
Execution error
internal error: early end of file from monitor, possible problem: 2016-10-23T00:08:35.093062Z qemu-system-x86_64: -device vfio-pci,host=08:04.2,id=hostdev1,bus=pci.0,addr=0x8: vfio: error, group 11 is not viable, please ensure all devices within the iommu_group are bound to their vfio bus driver.
2016-10-23T00:08:35.093119Z qemu-system-x86_64: -device vfio-pci,host=08:04.2,id=hostdev1,bus=pci.0,addr=0x8: vfio: failed to get group 11
2016-10-23T00:08:35.093139Z qemu-system-x86_64: -device vfio-pci,host=08:04.2,id=hostdev1,bus=pci.0,addr=0x8: Device initialization failed
Please help me figure this out.
Thank you