QEMU #4: How to add a USB controller to a QEMU/KVM virtual machine

Опубликовано: 08 Октябрь 2024
на канале: Pavol Elsig
15,936
101

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....