<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Oh well, there is one missing step:<br>
<br>
I had to run this command on engine to define 'hostusb' as a
custom property:<br>
<br>
sudo engine-config -s
UserDefinedVMProperties='hostusb=[\w:&]+'<br>
<br>
You can check out using:<br>
<br>
sudo engine-config -g UserDefinedVMProperties<br>
<br>
I have to write about it so as to not forget. Now I think it is
enough.<br>
<br>
Regards!<br>
<br>
On 10/11/2013 02:59 PM, <a class="moz-txt-link-abbreviated" href="mailto:emitor@gmail.com">emitor@gmail.com</a> wrote:<br>
</div>
<blockquote
cite="mid:CAPJ7RaSQqnSER+LyJkkNw3Mt0qMPOqYRN67huTjvnPVqrzR0qA@mail.gmail.com"
type="cite">
<div dir="ltr">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.
<div>
<br>
</div>
<div>There is something that I'm not doing?</div>
<div><br>
</div>
<div>Regards!</div>
<div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/10/11 Eduardo Ramos <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:eduardo@freedominterface.org"
target="_blank">eduardo@freedominterface.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>You're welcome!
<div>
<div><br>
<br>
On 10/11/2013 02:13 PM, <a
moz-do-not-send="true"
href="mailto:emitor@gmail.com" target="_blank">emitor@gmail.com</a>
wrote:<br>
</div>
</div>
</div>
<div>
<div>
<blockquote type="cite">
<div dir="ltr">Oh! great! i though that was by
modifying the xml "by hand".
<div><br>
</div>
<div>Thanks!</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/10/11 Eduardo
Ramos <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:eduardo@freedominterface.org"
target="_blank">eduardo@freedominterface.org</a>></span><br>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Emitor,<br>
<br>
You won't put it into a XML. You will
configure it in ovirt webadmin.<br>
<br>
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.<br>
<br>
You can define several ids, putting
'&' between them:
0x1234:0xbeef&0x2222:0xabaa.<br>
<br>
<a moz-do-not-send="true"
href="http://imagebin.org/273393"
target="_blank">http://imagebin.org/273393</a><br>
<br>
I hope it is what you want.
<div>
<div><br>
<br>
On 10/11/2013 01:56 PM, <a
moz-do-not-send="true"
href="mailto:emitor@gmail.com"
target="_blank">emitor@gmail.com</a>
wrote:<br>
</div>
</div>
</div>
<div>
<div>
<blockquote type="cite">
<div dir="ltr">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?
<div><br>
</div>
<div>Regards!</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/10/11
Eduardo Ramos <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:eduardo@freedominterface.org"
target="_blank">eduardo@freedominterface.org</a>></span><br>
<blockquote
class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div text="#000000"
bgcolor="#FFFFFF">
<div>Hi my friend!<br>
<br>
On the host, you can run
'lsusb' command. It will
return you some like
this:<br>
<br>
Bus 002 Device 004: ID
413c:2106 Dell Computer
Corp. Dell QuietKey
Keyboard<br>
<br>
You just add '0x' in the
begining of ids.
<div>
<div><br>
<br>
<br>
<br>
On 10/11/2013 01:17
PM, <a
moz-do-not-send="true"
href="mailto:emitor@gmail.com" target="_blank">emitor@gmail.com</a>
wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div>
<div dir="ltr">Hi,
<div><br>
</div>
<div>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?
<div> <br>
</div>
<div>I''ve
readed this: <a
moz-do-not-send="true" href="http://www.ovirt.org/VDSM-Hooks/hostusb"
target="_blank">http://www.ovirt.org/VDSM-Hooks/hostusb</a></div>
<div><br>
</div>
<div>But I don't
know where is
located the
"VM XML" that
it's mentioned
there.</div>
<div><br>
</div>
<div>Regards!</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>
<a moz-do-not-send="true" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr"><b>Emiliano
Tortorella</b><br>
<a moz-do-not-send="true"
href="tel:%2B598%2098941176"
value="+59898941176"
target="_blank">+598
98941176</a><br>
<a moz-do-not-send="true"
href="mailto:emitor@gmail.com"
target="_blank">emitor@gmail.com</a></div>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr"><b>Emiliano Tortorella</b><br>
<a moz-do-not-send="true"
href="tel:%2B598%2098941176"
value="+59898941176" target="_blank">+598
98941176</a><br>
<a moz-do-not-send="true"
href="mailto:emitor@gmail.com"
target="_blank">emitor@gmail.com</a></div>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr"><b>Emiliano Tortorella</b><br>
<a moz-do-not-send="true" href="tel:%2B598%2098941176"
value="+59898941176" target="_blank">+598 98941176</a><br>
<a moz-do-not-send="true" href="mailto:emitor@gmail.com"
target="_blank">emitor@gmail.com</a></div>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>