You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Rohit Yadav <ro...@shapeblue.com> on 2018/09/05 11:58:24 UTC

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 <di...@hotmail.com>
Sent: Thursday, August 30, 2018 7:36:33 PM
To: dev@cloudstack.apache.org; 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@shapeblue.com 
www.shapeblue.com
Amadeus House, Floral Street, London  WC2E 9DPUK
@shapeblue
  
 


Re: How to use ehci usb controller on kvm?

Posted by Ivan Kudryavtsev <ku...@bw-sw.com>.
Hello, guys.

Do CloudStack really relevant platform for such feature? I suppose that
there are some pieces of software for thin VM management like Proxmox,
oVirt, vSphere, HyperV, which support very precise VM configuration...

I don't really see, ACS is designed for that... It's more about automated
and very declarative configs. E.g. Making VM deployed at the host where
certain USB exists is ACS way (IMHO) like it done with Virtual GPU... But
passing xml code into the cloud is a little bit scary for me)) hope this
will work fine...

Actually, I wrote before and say again, there are too many unfunctional,
broken, weakly tested features and regressions in ACS, and it makes me feel
sad.

Like, Daan wrote several days ago that expunge flag for VM removal is
broken. How this could be, for real?

Excuse me for that pathetics, though... The road is so long)

ср, 5 сент. 2018 г., 18:58 Rohit Yadav <ro...@shapeblue.com>:

> 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 <di...@hotmail.com>
> Sent: Thursday, August 30, 2018 7:36:33 PM
> To: dev@cloudstack.apache.org; 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@shapeblue.com
> www.shapeblue.com
> Amadeus House, Floral Street, London  WC2E 9DPUK
> @shapeblue
>
>
>
>