See this wiki page about 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
From: emitor(a)gmail.com
To: "Eduardo Ramos" <eduardo(a)freedominterface.org>, users(a)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(a)freedominterface.org >
You're welcome!
On 10/11/2013 02:13 PM, emitor(a)gmail.com wrote:
Oh! great! i though that was by modifying the xml "by hand".
Thanks!
2013/10/11 Eduardo Ramos < eduardo(a)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(a)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(a)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(a)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(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
--
Emiliano Tortorella
+598 98941176
emitor(a)gmail.com
--
Emiliano Tortorella
+598 98941176
emitor(a)gmail.com
--
Emiliano Tortorella
+598 98941176
emitor(a)gmail.com
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users