Re: How to use ehci usb controller on kvm?
Hi Li Li,
There is no way to do that now, without manually editing the domain xml using virsh on the KVM host.
However, there is an upcoming feature that will allow users (if allowed by admin) to pass extra VM/hypervisor configuration such as the xml code you've shared in case of KVM VMs. This feature may hopefully make its way into master soon (so in 18.104.22.168 in future). Dingane (the author) can share more details on that.
From: li li <div8cn@xxxxxxxxxxx>
Sent: Thursday, August 30, 2018 7:36:33 PM
To: dev@xxxxxxxxxxxxxxxxxxxxx; users
Subject: How to use ehci usb controller on kvm?
I need to transmit a USB3.0 device to guest VM.
The VM created by cloudstack uses the piix3-uhci controller, so it is impossible to identify USB 2.0 or USB3.0 devices in the guest vm.
Is there any way to add EHCI controller to VM by default?
<controller type='usb' index='0' model='piix3-uhci'>
<controller type='usb'index='1' model='ehci'/>
Amadeus House, Floral Street, London WC2E 9DPUK