[ovirt-users] USB

suporte at logicworks.pt suporte at logicworks.pt
Mon Oct 5 10:44:23 UTC 2015


Thanks, it's working. 
Here is what I did: 

On the server node: 
yum install -y vdsm-hook-hostusb 
systemctl restart vdsmd 

On the server engine: 
engine-config -s "UserDefinedVMProperties=hostusb=^0x[0-9a-fA-F]{4}:0x[0-9a-fA-F]{4}$" 
service ovirt-engine restart 

lsusb to find the device, Vendor and product ID 
Shutdown the VM, edit it (Advanced, Custom properties) 
Add a custom key, select hostusb and enter the key, in my case 0x04b9:0x0300 
Save and start the VM, the USB device must be plugged into the server node. 

José 

----- Mensagem original -----

De: "Michal Skrivanek" <michal.skrivanek at redhat.com> 
Para: suporte at logicworks.pt 
Cc: "Nathanaël Blanchet" <blanchet at abes.fr>, users at ovirt.org 
Enviadas: Sexta-feira, 2 De Outubro de 2015 13:33:56 
Assunto: Re: [ovirt-users] USB 


On 2 Oct 2015, at 14:03, suporte at logicworks.pt wrote: 




Thanks, well the version 3.6 is still very buggy. 




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) 


<blockquote>

where can I enable hostusb vdsm hook ? 

</blockquote>


just follow general hook docs 
it should have readme and docs how to add it to custom properties 


<blockquote>


José 

----- Mensagem original -----

From: "Michal Skrivanek" < michal.skrivanek at redhat.com > 
To: "Nathanaël Blanchet" < blanchet at abes.fr >, suporte at logicworks.pt 
Cc: users at ovirt.org 
Sent: Friday, October 2, 2015 11:34:33 AM 
Subject: Re: [ovirt-users] USB 


On 2 Oct 2015, at 12:05, Nathanaël Blanchet wrote: 


<blockquote>

On the hypervisor : 
yum install -y vdsm-hook-hostusb 
systemctl restart vdsmd 


Le 02/10/2015 11:56, suporte at logicworks.pt a écrit : 

<blockquote>

Thanks. 
How can I install hostusb? It is a windows VM machine. 

José 

----- Mensagem original -----

From: "Simone Tiraboschi" <stirabos at redhat.com> 
To: suporte at logicworks.pt 
Cc: "users" <users at ovirt.org> 
Sent: Friday, October 2, 2015 10:21:19 AM 
Subject: Re: [ovirt-users] USB 



On Fri, Oct 2, 2015 at 11:02 AM, < suporte at logicworks.pt > wrote: 

<blockquote>

Hello, 

It's possible for a VM to read a USB pen connetced to the host (oVirt 3.5)? 

</blockquote>


Yes, installing and enabling hostusb vdsm hook. 

</blockquote>


</blockquote>


also note in 3.6 there will be native support for host devices passthrough and you won't need any hook 
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) 

Thanks, 
michal 


<blockquote>


<blockquote>


Then define a custom property called hostusb and set it to hostusb=VendorId:ProductId getting that values from lsusb on the host. 
The VM must be pinned to the host and live-migration will not be possible, 




<blockquote>

Thanks 

José 

-- 

Jose Ferradeira 
http://www.logicworks.pt 


_______________________________________________ 
Users mailing list 
Users at ovirt.org 
http://lists.ovirt.org/mailman/listinfo/users 


</blockquote>





_______________________________________________
Users mailing list Users at ovirt.org http://lists.ovirt.org/mailman/listinfo/users 

</blockquote>

-- 
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5 	
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14 blanchet at abes.fr 
_______________________________________________ 
Users mailing list 
Users at ovirt.org 
http://lists.ovirt.org/mailman/listinfo/users 

</blockquote>




</blockquote>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20151005/db9d136e/attachment-0001.html>


More information about the Users mailing list