[Users] Host USB

Oved Ourfalli ovedo at redhat.com
Fri Oct 11 18:08:03 UTC 2013


See this wiki page about VDSM hooks.
http://www.ovirt.org/Vdsm_Hooks

Hope it is up to date. I Just skimmed it a bit.
I think the step you're missing is configuring the engine to allow using this hook (see section http://www.ovirt.org/Vdsm_Hooks#VM-level_hooks).

Hope it helps,
Oved


----- Original Message -----
> From: emitor at gmail.com
> To: "Eduardo Ramos" <eduardo at freedominterface.org>, users at ovirt.org
> Sent: Friday, October 11, 2013 8:59:54 PM
> Subject: Re: [Users] Host USB
> 
> 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 >
> 
> 
> 
> You're welcome!
> 
> 
> On 10/11/2013 02:13 PM, 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 >
> 
> 
> 
> 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 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 >
> 
> 
> 
> 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 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
> http://lists.ovirt.org/mailman/listinfo/users
> 
> 
> 
> 
> --
> Emiliano Tortorella
> +598 98941176
> emitor at gmail.com
> 
> 
> 
> 
> --
> Emiliano Tortorella
> +598 98941176
> emitor at gmail.com
> 
> 
> 
> 
> --
> Emiliano Tortorella
> +598 98941176
> emitor at gmail.com
> 
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 



More information about the Users mailing list