[Users] Host USB

Eduardo Ramos eduardo at freedominterface.org
Fri Oct 11 18:13:32 UTC 2013


Oh well, there is one missing step:

I had to run this command on engine to define 'hostusb' as a custom 
property:

sudo engine-config -s UserDefinedVMProperties='hostusb=[\w:&]+'

You can check out using:

sudo engine-config -g UserDefinedVMProperties

I have to write about it so as to not forget. Now I think it is enough.

Regards!

On 10/11/2013 02:59 PM, emitor at gmail.com wrote:
> I've installed the hook on both host that belong to the cluster where 
> the VM is but I don't get the option to configure. I've also pinned 
> the vm to a host but I get the same options as in any other vm from 
> the cluster.
>
> There is something that I'm not doing?
>
> Regards!
>
>
> 2013/10/11 Eduardo Ramos <eduardo at freedominterface.org 
> <mailto:eduardo at freedominterface.org>>
>
>     You're welcome!
>
>
>     On 10/11/2013 02:13 PM, emitor at gmail.com <mailto:emitor at gmail.com>
>     wrote:
>>     Oh! great! i though that was by modifying the xml "by hand".
>>
>>     Thanks!
>>
>>
>>     2013/10/11 Eduardo Ramos <eduardo at freedominterface.org
>>     <mailto:eduardo at freedominterface.org>>
>>
>>         Emitor,
>>
>>         You won't put it into a XML. You will configure it in ovirt
>>         webadmin.
>>
>>         First you have to install hostusb hook on the host machine.
>>         Then editing your virtual machine, go to the 'Custom
>>         Properties' tab. There, select 'hostusb' and in the right
>>         textbox, put the id. Example: 0x1234:0xbeef.
>>
>>         You can define several ids, putting '&' between them:
>>         0x1234:0xbeef&0x2222:0xabaa.
>>
>>         http://imagebin.org/273393
>>
>>         I hope it is what you want.
>>
>>
>>         On 10/11/2013 01:56 PM, emitor at gmail.com
>>         <mailto:emitor at gmail.com> wrote:
>>>         Thanks for your answer Eduardo, but i don't know which is
>>>         the file where i have to put the '0x', I mean the XML file
>>>         that describes the VM. Where is it located?
>>>
>>>         Regards!
>>>
>>>
>>>         2013/10/11 Eduardo Ramos <eduardo at freedominterface.org
>>>         <mailto:eduardo at freedominterface.org>>
>>>
>>>             Hi my friend!
>>>
>>>             On the host, you can run 'lsusb' command. It will return
>>>             you some like this:
>>>
>>>             Bus 002 Device 004: ID 413c:2106 Dell Computer Corp.
>>>             Dell QuietKey Keyboard
>>>
>>>             You just add '0x' in the begining of ids.
>>>
>>>
>>>
>>>
>>>             On 10/11/2013 01:17 PM, emitor at gmail.com
>>>             <mailto:emitor at gmail.com> wrote:
>>>>             Hi,
>>>>
>>>>             I would like to implement the USB pass through from a
>>>>             host to a VM. I don't know how to configure the hook
>>>>             that allow me to do this. Could you give me some
>>>>             guidance with this?
>>>>
>>>>             I''ve readed this: http://www.ovirt.org/VDSM-Hooks/hostusb
>>>>
>>>>             But I don't know where is located the "VM XML" that
>>>>             it's mentioned there.
>>>>
>>>>             Regards!
>>>>
>>>>
>>>>             _______________________________________________
>>>>             Users mailing list
>>>>             Users at ovirt.org  <mailto:Users at ovirt.org>
>>>>             http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>>>
>>>
>>>         -- 
>>>         *Emiliano Tortorella*
>>>         +598 98941176 <tel:%2B598%2098941176>
>>>         emitor at gmail.com <mailto:emitor at gmail.com>
>>
>>
>>
>>
>>     -- 
>>     *Emiliano Tortorella*
>>     +598 98941176 <tel:%2B598%2098941176>
>>     emitor at gmail.com <mailto:emitor at gmail.com>
>
>
>
>
> -- 
> *Emiliano Tortorella*
> +598 98941176 <tel:%2B598%2098941176>
> emitor at gmail.com <mailto:emitor at gmail.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20131011/a983d603/attachment-0001.html>


More information about the Users mailing list