This is a multi-part message in MIME format.
--------------070505090305090503060607
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
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(a)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(a)freedominterface.org
<mailto:eduardo@freedominterface.org>>
You're welcome!
On 10/11/2013 02:13 PM, emitor(a)gmail.com <mailto:emitor@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
> <mailto:eduardo@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
> <mailto:emitor@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
>> <mailto:eduardo@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
>> <mailto:emitor@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 <mailto:Users@ovirt.org>
>>>
http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>>
>>
>> --
>> *Emiliano Tortorella*
>> +598 98941176 <tel:%2B598%2098941176>
>> emitor(a)gmail.com <mailto:emitor@gmail.com>
>
>
>
>
> --
> *Emiliano Tortorella*
> +598 98941176 <tel:%2B598%2098941176>
> emitor(a)gmail.com <mailto:emitor@gmail.com>
--
*Emiliano Tortorella*
+598 98941176 <tel:%2B598%2098941176>
emitor(a)gmail.com <mailto:emitor@gmail.com>
--------------070505090305090503060607
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<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(a)freedominterface.org</a>&gt;</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(a)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(a)freedominterface.org</a>&gt;</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(a)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(a)freedominterface.org</a>&gt;</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(a)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</...
<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(a)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/user...
</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(a)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(a)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(a)gmail.com</a></div>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>
--------------070505090305090503060607--