------=_Part_639581_1589604595.1444041863511
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Thanks, it's working.=20
Here is what I did:=20
On the server node:=20
yum install -y vdsm-hook-hostusb=20
systemctl restart vdsmd=20
On the server engine:=20
engine-config -s "UserDefinedVMProperties=3Dhostusb=3D^0x[0-9a-fA-F]{4}:0x[=
0-9a-fA-F]{4}$"=20
service ovirt-engine restart=20
lsusb to find the device, Vendor and product ID=20
Shutdown the VM, edit it (Advanced, Custom properties)=20
Add a custom key, select hostusb and enter the key, in my case 0x04b9:0x030=
0=20
Save and start the VM, the USB device must be plugged into the server node.=
=20
Jos=C3=A9=20
----- Mensagem original -----
De: "Michal Skrivanek" <michal.skrivanek(a)redhat.com>=20
Para: suporte(a)logicworks.pt=20
Cc: "Nathana=C3=ABl Blanchet" <blanchet(a)abes.fr>, users(a)ovirt.org=20
Enviadas: Sexta-feira, 2 De Outubro de 2015 13:33:56=20
Assunto: Re: [ovirt-users] USB=20
On 2 Oct 2015, at 14:03, suporte(a)logicworks.pt wrote:=20
Thanks, well the version 3.6 is still very buggy.=20
the release is not that far away;-) but at this very moment surely latest 3=
.5.z is more stable (however note that with any host device passthrough the=
stability may be affected)=20
<blockquote>
where can I enable hostusb vdsm hook ?=20
</blockquote>
just follow general hook docs=20
it should have readme and docs how to add it to custom properties=20
<blockquote>
Jos=C3=A9=20
----- Mensagem original -----
From: "Michal Skrivanek" < michal.skrivanek(a)redhat.com >=20
To: "Nathana=C3=ABl Blanchet" < blanchet(a)abes.fr >,
suporte(a)logicworks.pt=
=20
Cc: users(a)ovirt.org=20
Sent: Friday, October 2, 2015 11:34:33 AM=20
Subject: Re: [ovirt-users] USB=20
On 2 Oct 2015, at 12:05, Nathana=C3=ABl Blanchet wrote:=20
<blockquote>
On the hypervisor :=20
yum install -y vdsm-hook-hostusb=20
systemctl restart vdsmd=20
Le 02/10/2015 11:56, suporte(a)logicworks.pt a =C3=A9crit :=20
<blockquote>
Thanks.=20
How can I install hostusb? It is a windows VM machine.=20
Jos=C3=A9=20
----- Mensagem original -----
From: "Simone Tiraboschi" <stirabos(a)redhat.com>=20
To: suporte(a)logicworks.pt=20
Cc: "users" <users(a)ovirt.org>=20
Sent: Friday, October 2, 2015 10:21:19 AM=20
Subject: Re: [ovirt-users] USB=20
On Fri, Oct 2, 2015 at 11:02 AM, < suporte(a)logicworks.pt > wrote:=20
<blockquote>
Hello,=20
It's possible for a VM to read a USB pen connetced to the host (oVirt 3.5)?=
=20
</blockquote>
Yes, installing and enabling hostusb vdsm hook.=20
</blockquote>
</blockquote>
also note in 3.6 there will be native support for host devices passthrough =
and you won't need any hook=20
PCI and USB (USB has a libvirt permission issue currently so will probably =
really work only in 3.6.1/3.6.2 once EL7.2 is available)=20
Thanks,=20
michal=20
<blockquote>
<blockquote>
Then define a custom property called hostusb and set it to hostusb=3DVendor=
Id:ProductId getting that values from lsusb on the host.=20
The VM must be pinned to the host and live-migration will not be possible,=
=20
<blockquote>
Thanks=20
Jos=C3=A9=20
--=20
Jose Ferradeira=20
http://www.logicworks.pt=20
_______________________________________________=20
Users mailing list=20
Users(a)ovirt.org=20
http://lists.ovirt.org/mailman/listinfo/users=20
</blockquote>
_______________________________________________
Users mailing list Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/=
users=20
</blockquote>
--=20
Nathana=C3=ABl Blanchet
Supervision r=C3=A9seau
P=C3=B4le Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5 =09
T=C3=A9l. 33 (0)4 67 54 84 55
Fax 33 (0)4 67 54 84 14 blanchet(a)abes.fr=20
_______________________________________________=20
Users mailing list=20
Users(a)ovirt.org=20
http://lists.ovirt.org/mailman/listinfo/users=20
</blockquote>
</blockquote>
------=_Part_639581_1589604595.1444041863511
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html><body><div style=3D"font-family: Times New Roman; font-size:
10pt; co=
lor: #000000"><div>Thanks, it's working.</div><div>Here is
what I did:<br><=
/div><div><br></div><div>On the server
node:<br></div><div>yum install -y v=
dsm-hook-hostusb<br> systemctl restart
vdsmd</div><div><br></div><div>On th=
e server engine:<br></div><div><code> engine-config -s
"UserDefinedVMProper=
ties=3Dhostusb=3D^0x[0-9a-fA-F]{4}:0x[0-9a-fA-F]{4}$"</code></div><div><cod=
e>service ovirt-engine restart
</code></div><div><br></div><div>lsusb to fi=
nd the device, Vendor and product ID<br></div><div>Shutdown the VM, edit
it=
(Advanced, Custom properties)<br></div><div>Add a custom key, select
hostu=
sb and enter the key, in my case 0x04b9:0x0300<br></div><div>Save and
start=
the VM, the USB device must be plugged into the server
node.<br></div><div=
<br></div><div>Jos=C3=A9<br></div><div><br></div><hr
id=3D"zwchr"><div sty=
le=3D"color:#000;font-weight:normal;font-style:normal;text-decoration:none;=
font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style=3D"c=
olor: #000; font-weight: normal; font-style: normal; text-decoration: none;=
font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>De:
</b>"Mic=
hal Skrivanek" &lt;michal.skrivanek(a)redhat.com&gt;<br><b>Para:
</b>suporte@=
logicworks.pt<br><b>Cc: </b>"Nathana=C3=ABl Blanchet"
&lt;blanchet(a)abes.fr&=
gt;, users(a)ovirt.org<br><b>Enviadas: </b>Sexta-feira, 2 De Outubro de
2015 =
13:33:56<br><b>Assunto: </b>Re: [ovirt-users]
USB<br><div><br></div><br><di=
v><div>On 2 Oct 2015, at 14:03, <a
href=3D"mailto:suporte@logicworks.pt" ta=
rget=3D"_blank"
data-mce-href=3D"mailto:suporte@logicworks.pt">suporte@logi=
cworks.pt</a> wrote:</div><br
class=3D"Apple-interchange-newline"><blockquo=
te><div><div style=3D"font-family: Times New Roman; font-size: 10pt;
color:=
#000000" data-mce-style=3D"font-family: Times New Roman; font-size: 10pt; =
color: #000000;"><div>Thanks, well the version 3.6 is still very
buggy.<br>=
</div></div></div></blockquote><div><br></div>the
release is not that far a=
way;-) but at this very moment surely latest 3.5.z is more stable (however =
note that with any host device passthrough the stability may be affected)</=
div><div><br><blockquote><div><div
style=3D"font-family: Times New Roman; f=
ont-size: 10pt; color: #000000" data-mce-style=3D"font-family: Times New Ro=
man; font-size: 10pt; color: #000000;"><div>where can I enable hostusb
vdsm=
hook
?<br></div></div></div></blockquote><div><br></div>just
follow genera=
l hook docs</div><div>it should have readme and docs how to add it to custo=
m properties</div><div><br><blockquote><div><div
style=3D"font-family: Time=
s New Roman; font-size: 10pt; color: #000000" data-mce-style=3D"font-family=
: Times New Roman; font-size: 10pt; color:
#000000;"><div><br></div><div>Jo=
s=C3=A9<br></div><div><br></div><hr
id=3D"zwchr"><div style=3D"color:#000;f=
ont-weight:normal;font-style:normal;text-decoration:none;font-family:Helvet=
ica,Arial,sans-serif;font-size:12pt;" data-mce-style=3D"color: #000; font-w=
eight: normal; font-style: normal; text-decoration: none; font-family: Helv=
etica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Michal
Skrivanek" &=
lt;<a href=3D"mailto:michal.skrivanek@redhat.com" target=3D"_blank"
data-mc=
e-href=3D"mailto:michal.skrivanek@redhat.com">michal.skrivanek@redhat.com</=
a>><br><b>To: </b>"Nathana=C3=ABl Blanchet"
<<a href=3D"mailto:blanch=
et(a)abes.fr" target=3D"_blank"
data-mce-href=3D"mailto:blanchet@abes.fr">bla=
nchet(a)abes.fr</a>&gt;, <a href=3D"mailto:suporte@logicworks.pt"
target=3D"_=
blank"
data-mce-href=3D"mailto:suporte@logicworks.pt">suporte@logicworks.pt=
</a><br><b>Cc: </b><a href=3D"mailto:users@ovirt.org"
target=3D"_blank" dat=
a-mce-href=3D"mailto:users@ovirt.org">users@ovirt.org</a><br><b>Sent:
</b>F=
riday, October 2, 2015 11:34:33 AM<br><b>Subject: </b>Re: [ovirt-users]
USB=
<br><div><br></div><br><div><div>On 2 Oct 2015,
at 12:05, Nathana=C3=ABl Bl=
anchet wrote:</div><br
class=3D"Apple-interchange-newline"><blockquote><div=
On the hypervisor : <br> yum install -y
vdsm-hook-hostusb<br> systemctl re=
start vdsmd<br> <br>
<br><div class=3D"moz-cite-prefix">Le 02/10/2015 11:56=
, <a class=3D"moz-txt-link-abbreviated"
href=3D"mailto:suporte@logicworks.p=
t" target=3D"_blank"
data-mce-href=3D"mailto:suporte@logicworks.pt">suporte=
@logicworks.pt</a> a =C3=A9crit :<br></div><blockquote
cite=3D"mid:463=
603948.574328.1443779765623.JavaMail.zimbra(a)logicworks.pt"><div
style=3D"fo=
nt-family: Times New Roman; font-size: 10pt; color:
#000000" data-mce-style=3D"font-family: Times New Roman; font-size:=
10pt; color: #000000;"><div>Thanks.<br></div><div>How can
I install hostus=
b? It is a windows VM
machine.<br></div><div><br></div><div>Jos=C3=A9<br></=
div><div><br></div><hr id=3D"zwchr"><div
style=3D"color:#000;font-weight:no=
rmal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,san=
s-serif;font-size:12pt;" data-mce-style=3D"color: #000; font-weight: normal=
; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,s=
ans-serif; font-size: 12pt;"><b>From: </b>"Simone
Tiraboschi" <a class=3D"m=
oz-txt-link-rfc2396E" href=3D"mailto:stirabos@redhat.com"
target=3D"_blank"=
data-mce-href=3D"mailto:stirabos@redhat.com"><stirabos@redhat.com></=
a><br> <b>To: </b><a class=3D"moz-txt-link-abbreviated"
href=3D"mailto:supo=
rte(a)logicworks.pt" target=3D"_blank"
data-mce-href=3D"mailto:suporte@logicw=
orks.pt">suporte(a)logicworks.pt</a><br> <b>Cc:
</b>"users" <a class=3D"moz-t=
xt-link-rfc2396E" href=3D"mailto:users@ovirt.org"
target=3D"_blank" data-mc=
e-href=3D"mailto:users@ovirt.org"><users@ovirt.org></a><br>
<b>Sent: =
</b>Friday, October 2, 2015 10:21:19 AM<br> <b>Subject: </b>Re:
[ovirt-user=
s] USB<br><div><br></div><div
dir=3D"ltr"><br><div class=3D"gmail_extra"><b=
r><div class=3D"gmail_quote">On Fri, Oct 2, 2015 at 11:02 AM, <span
dir=3D"=
ltr"><<a href=3D"mailto:suporte@logicworks.pt"
target=3D"_blank" data-mc=
e-href=3D"mailto:suporte@logicworks.pt">suporte@logicworks.pt</a>></span=
wrote:<br><blockquote class=3D"gmail_quote"
style=3D"margin-top: 0px; mar=
gin-right: 0px; margin-bottom: 0px; margin-left:
0.8ex; border-left-width: =
1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; paddi=
ng-left: 1ex; position: static; z-index: auto; " data-mce-style=3D"margin-t=
op: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-=
left-width: 1px; border-left-color: #cccccc; border-left-style: solid; padd=
ing-left: 1ex; position: static; z-index: auto;"><div><div
style=3D"font-fa=
mily:'Times New
Roman';font-size:10pt;color:rgb(0,0,0)" data-mce-styl=
e=3D"font-family: 'Times New
Roman'; font-size: 10pt; color:
#000000;"><div>Hello,=
<br></div><div><br></div><div>It's possible for a
VM to read a USB pen conn=
etced to the host (oVirt
3.5)?</div></div></div></blockquote><div><br></div=
<div>Yes, installing and enabling hostusb vdsm
hook.</div></div></div></di=
v></div></div></blockquote></div></blockquote><div><br></div><div>also
note=
in 3.6 there will be native support for host devices passthrough and you w=
on't need any hook</div><div>PCI and USB (USB has a libvirt permission
issu=
e currently so will probably really work only in 3.6.1/3.6.2 once EL7.2 is =
available)</div><div><br></div><div>Thanks,</div><div>michal</div><br><bloc=
kquote><div><blockquote
cite=3D"mid:463603948.574328.1443779765623.JavaMail=
.zimbra(a)logicworks.pt"><div style=3D"font-family: Times New Roman;
font-siz=
e: 10pt; color:
#000000" data-mce-style=3D"font-family: Times New Roman; font-size:=
10pt; color: #000000;"><div
style=3D"color:#000;font-weight:normal;font-st=
yle:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font=
-size:12pt;" data-mce-style=3D"color: #000; font-weight: normal; font-style=
: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; f=
ont-size: 12pt;"><div dir=3D"ltr"><div
class=3D"gmail_extra"><div class=3D"=
gmail_quote"><div><br></div><div>Then define a custom
property called hostu=
sb and set it to hostusb=3DVendorId:ProductId getting that values from=
lsusb on the host.</div><div>The VM must be pinned to the host and
li=
ve-migration will not be
possible,</div><div><br></div><div><br></div><div>=
<br></div><div> </div><blockquote
class=3D"gmail_quote" style=3D"margi=
n:0px 0px
0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-=
style:solid;padding-left:1ex" data-mce-style=3D"margin: 0px 0px
0px
0.8ex; border-left-width: 1px; border-left-color: #cccccc; border-left-styl=
e: solid; padding-left: 1ex;"><div><div
style=3D"font-family:'Times New
Roman';font-size:10pt;color:rgb(0,0,0)" data-mce-styl=
e=3D"font-family: 'Times New
Roman'; font-size: 10pt; color:
#000000;"><div>Thanks=
<br></div><div><br></div><div>Jos=C3=A9<span
class=3D""><span style=3D"colo=
r:
#888888;" data-mce-style=3D"color:
#888888;"><b=
r> </span></span></div><div><br></div><div>--
<br></div><div><span></span><=
hr style=3D"width:100%;min-height:2px" data-mce-style=3D"width: 100%;
min-h=
eight: 2px;">Jose Ferradeira<br> <a
href=3D"http://www.logicworks.pt/" targ=
et=3D"_blank"
data-mce-href=3D"http://www.logicworks.pt/">http://www.logicw=
orks.pt</a><br>
<span></span><br></div></div></div><br>
___________________=
____________________________<br> Users mailing list<br> <a
href=3D"mailto:U=
sers(a)ovirt.org" target=3D"_blank"
data-mce-href=3D"mailto:Users@ovirt.org">=
Users(a)ovirt.org</a><br> <a
href=3D"http://lists.ovirt.org/mailman/listinfo/=
users" rel=3D"noreferrer" target=3D"_blank"
data-mce-href=3D"http://lists.o=
virt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/l...
ers</a><br>
<br></blockquote></div><br></div></div></div><div><br></div></d=
iv><br><fieldset
class=3D"mimeAttachmentHeader"></fieldset><br><pre>_______=
________________________________________
Users mailing list
<a class=3D"moz-txt-link-abbreviated"
href=3D"mailto:Users@ovirt.org" targe=
t=3D"_blank"
data-mce-href=3D"mailto:Users@ovirt.org">Users@ovirt.org</a>
<a class=3D"moz-txt-link-freetext"
href=3D"http://lists.ovirt.org/mailman/l=
istinfo/users" target=3D"_blank"
data-mce-href=3D"http://lists.ovirt.org/ma=
ilman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/use...
</pre></blockquote><br><pre
class=3D"moz-signature">--=20
Nathana=C3=ABl Blanchet
Supervision r=C3=A9seau
P=C3=B4le Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5 =09
T=C3=A9l. 33 (0)4 67 54 84 55
Fax 33 (0)4 67 54 84 14
<a class=3D"moz-txt-link-abbreviated"
href=3D"mailto:blanchet@abes.fr" targ=
et=3D"_blank"
data-mce-href=3D"mailto:blanchet@abes.fr">blanchet@abes.fr</a=
</pre></div>_______________________________________________<br>Users
mail=
ing list<br><a href=3D"mailto:Users@ovirt.org"
target=3D"_blank" data-mce-h=
ref=3D"mailto:Users@ovirt.org">Users@ovirt.org</a><br>http://lists.ovirt.or=
g/mailman/listinfo/users<br></blockquote></div><br></div><div><br></div></d=
iv></div></blockquote></div><br></div><div><br></div></div></body></html>
------=_Part_639581_1589604595.1444041863511--