February 21, 20197 yr Is it possible to attach a specific usb port to a VM instead of a specific device? The reason why I'm asking is that I have 3 devices with the same vendor and product id plugged in and to attach them to the VM I had to edit the xml like so: <hostdev mode='subsystem' type='usb' managed='yes'> <source> <address bus='3' device='31'/> </source> <alias name='hostdev0'/> <address type='usb' bus='0' port='2'/> </hostdev> <hostdev mode='subsystem' type='usb' managed='yes'> <source> <address bus='3' device='34'/> </source> <alias name='hostdev1'/> <address type='usb' bus='0' port='3'/> </hostdev> <hostdev mode='subsystem' type='usb' managed='yes'> <source> <address bus='5' device='23'/> </source> <alias name='hostdev2'/> <address type='usb' bus='0' port='4'/> </hostdev> The problem with that is that the bus and device change whenever I unplug something and plug it back in so every time I do that I have to reboot the vm which is seriously starting to get annoying.
February 21, 20197 yr You typically can't pass individual ports, you will need to pass a USB controller. Just don't accidentally pass the one the has your Unraid USB stick in it. Spaceinvaderone has a series of videos on youtube about this kind of thing.
February 22, 20197 yr Author Thank you, his video worked perfectly, I would've preferred doing it port by port, but it works well enough controller-by controller Edited February 22, 20197 yr by r00t
Archived
This topic is now archived and is closed to further replies.