In this video, we assign a USB controller to our virtual machine. This allows us to connect and disconnect USB devices even after startup
Copy, paste, and edit this:
-device vfio-pci,host=00:00.0,bus=pcie.0 \
./vfio-bind.sh 0000:00:00.0
/sys/bus/pci/drivers/vfio-pci/unbind
/sys/bus/pci/drivers/xhci_hcd/bind
The script is here under step 3:
https://wiki.installgentoo.com/index....