git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 4.12.0.0 in future). Dingane (the author) can share more details on that.


- Rohit

<https://cloudstack.apache.org>



________________________________
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?

Hello guys,

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?


for example


<controller type='usb' index='0' model='piix3-uhci'>
<controller type='usb'index='1' model='ehci'/>

rohit.yadav@xxxxxxxxxxxxx 
www.shapeblue.com
Amadeus House, Floral Street, London  WC2E 9DPUK
@shapeblue