Re: [ovirt-users] 答复: 答复: RESOLVED USB Modem in a VM
On 01/20/2015 09:39 AM, Xie, Chao wrote: Hi, all I later found a msi about "USBFilterEditor.msi" As the guide http://www.uaustral.cl/ovirt-engine/docs/manual/en_US/html/Administration_Guide/sect-The_USB_Filter_Editor.html I use my own usbfilter.txt to replace the /etc/ovirt-engine/usbfilter.txt in the rhevm host. Then the vm can detect my usb device in the host ~ the usbfilter is only relevant for spice based connections (which allow remoting usb devices) as far i remember, not to hostusb which mounts a usb device at host side, not via spice. -邮件原件- 发件人: Itamar Heim [mailto:ih...@redhat.com] 发送时间: 2015年1月20日 14:37 收件人: Xie, Chao/谢 超 抄送: VONDRA Alain 主题: Re: 答复: [ovirt-users] RESOLVED USB Modem in a VM Please cc the mailing list and share if hook is installed on the host and custom properties defined properly, also, lsusb from before you start the VM. Thanks. On Jan 20, 2015 7:55 AM, "Xie, Chao" wrote: Hello I read all your letter about USB Modem. But I'm confused t Hello I read all your letter about USB Modem. But I'm confused that "USB Modem" means "USB Storage" or something else? I try to redirect the usb device in the host to vm (win7), but in vm there isn't any usb device. -邮件原件- 发件人: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] 代表 VONDRA Alain 发送时间: 2015年1月19日 19:32 收件人: VONDRA Alain; Itamar Heim; users@ovirt.org 主题: Re: [ovirt-users] RESOLVED USB Modem in a VM It's working, in fact after the update from oVirt 3.4 to 3.5 my Cluster compatibility version was still in 3.4, I've changed it to 3.5 and the hostusb appeared... Now the modem is well detected in my Windows 2008 VM. Thank you very much everybody for your help Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la part de VONDRA Alain Envoyé : lundi 19 janvier 2015 12:03 À : Itamar Heim; users@ovirt.org Objet : Re: [ovirt-users] USB Modem in a VM Yes I made this : engine-config -s "UserDefinedVMProperties=hostusb=0x0572:0x1321" and nothing appear on the Edit VM, only : - sndbuf - vhost - sap_agent - viodiskattach Is there any possibility to verify ? The first command I put engine-config -s "UserDefinedVMProperties=hostusb=true;another_property=regexp" following the doc, maybe this option is blocking the hook ? Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Itamar Heim [mailto:ih...@redhat.com] Envoyé : lundi 19 janvier 2015 11:29 À : VONDRA Alain; users@ovirt.org Objet : Re: [ovirt-users] USB Modem in a VM On 01/19/2015 12:23 PM, VONDRA Alain wrote: Hi, I've tried to use hook hostusb, I've installed vdsm-hook-hostusb.noarch 0:4.16.10-0.el6, and followed the documentation on http://www.ovirt.org/Vdsm_Hooks, but the new hook doesn't appear on the UI using "Edit VM" and "custom properties". Is there any other way to install hooks, the documentation is not so clear, and I'm not very fine with python. Thanks you don't need to know python. did you run the engine side commands (engine-config -s UserDefinedVMProperties... and restarted the engine)? check http://blog.conoracallahan.com/blog/2014/07/19/ovirt-usb-passthrough/ Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Itamar Heim [mailto:ih...@redhat.com] Envoyé : dimanche 18 janvier 2015 11:42 À : VONDRA Alain Objet : Re: [ovirt-users] USB Modem in a VM On 01/18/2015 12:36 PM, VONDRA Alain wrote: Hi, I didn't try yet this option http://www.ovirt.org/VDSM-Hooks/hostusb to inject it Do you think it will be a better solution ? that's the "right solution". I'll reply again on list so folks can help you with it as needed. Thanks Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr De : Itamar Heim [ih...@redhat.com] Envoyé : vendredi 16 janvier 2015 19:21 À : VONDRA Alain Objet : Re: [ovirt-users] USB Modem in a VM On 01/15/2015 05:56 PM, VONDRA Alain wrote: Hi, Thank you for your answer, I've tried to insert my USB modem, but it doesn't up in the Windows VM. I've tried to insert via virt-manager without success, I can't apply the modification, however I see the modem using lsusb : lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001
[ovirt-users] 答复: 答复: RESOLVED USB Modem in a VM
Hi, all I later found a msi about "USBFilterEditor.msi" As the guide http://www.uaustral.cl/ovirt-engine/docs/manual/en_US/html/Administration_Guide/sect-The_USB_Filter_Editor.html I use my own usbfilter.txt to replace the /etc/ovirt-engine/usbfilter.txt in the rhevm host. Then the vm can detect my usb device in the host ~ -邮件原件- 发件人: Itamar Heim [mailto:ih...@redhat.com] 发送时间: 2015年1月20日 14:37 收件人: Xie, Chao/谢 超 抄送: VONDRA Alain 主题: Re: 答复: [ovirt-users] RESOLVED USB Modem in a VM Please cc the mailing list and share if hook is installed on the host and custom properties defined properly, also, lsusb from before you start the VM. Thanks. On Jan 20, 2015 7:55 AM, "Xie, Chao" wrote: > > > Hello > I read all your letter about USB Modem. But I'm confused t Hello I read all your letter about USB Modem. But I'm confused that "USB Modem" means "USB Storage" or something else? I try to redirect the usb device in the host to vm (win7), but in vm there isn't any usb device. -邮件原件- 发件人: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] 代表 VONDRA Alain 发送时间: 2015年1月19日 19:32 收件人: VONDRA Alain; Itamar Heim; users@ovirt.org 主题: Re: [ovirt-users] RESOLVED USB Modem in a VM It's working, in fact after the update from oVirt 3.4 to 3.5 my Cluster compatibility version was still in 3.4, I've changed it to 3.5 and the hostusb appeared... Now the modem is well detected in my Windows 2008 VM. Thank you very much everybody for your help Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la part de VONDRA Alain Envoyé : lundi 19 janvier 2015 12:03 À : Itamar Heim; users@ovirt.org Objet : Re: [ovirt-users] USB Modem in a VM Yes I made this : engine-config -s "UserDefinedVMProperties=hostusb=0x0572:0x1321" and nothing appear on the Edit VM, only : - sndbuf - vhost - sap_agent - viodiskattach Is there any possibility to verify ? The first command I put engine-config -s "UserDefinedVMProperties=hostusb=true;another_property=regexp" following the doc, maybe this option is blocking the hook ? Alain Alain VONDRA Chargé d'exploitation des Systèmes d'Information Direction Administrative et Financière +33 1 44 39 77 76 UNICEF France 3 rue Duguay Trouin 75006 PARIS www.unicef.fr -Message d'origine- De : Itamar Heim [mailto:ih...@redhat.com] Envoyé : lundi 19 janvier 2015 11:29 À : VONDRA Alain; users@ovirt.org Objet : Re: [ovirt-users] USB Modem in a VM On 01/19/2015 12:23 PM, VONDRA Alain wrote: > Hi, > I've tried to use hook hostusb, I've installed vdsm-hook-hostusb.noarch > 0:4.16.10-0.el6, and followed the documentation on > http://www.ovirt.org/Vdsm_Hooks, but the new hook doesn't appear on the UI > using "Edit VM" and "custom properties". > Is there any other way to install hooks, the documentation is not so clear, > and I'm not very fine with python. > Thanks you don't need to know python. did you run the engine side commands (engine-config -s UserDefinedVMProperties... and restarted the engine)? check http://blog.conoracallahan.com/blog/2014/07/19/ovirt-usb-passthrough/ > Alain > > > > > Alain VONDRA > Chargé d'exploitation des Systèmes d'Information Direction > Administrative et Financière > +33 1 44 39 77 76 > UNICEF France > 3 rue Duguay Trouin 75006 PARIS > www.unicef.fr > > > > > -Message d'origine- > De : Itamar Heim [mailto:ih...@redhat.com] Envoyé : dimanche 18 > janvier 2015 11:42 À : VONDRA Alain Objet : Re: [ovirt-users] USB > Modem in a VM > > On 01/18/2015 12:36 PM, VONDRA Alain wrote: >> Hi, >> I didn't try yet this option http://www.ovirt.org/VDSM-Hooks/hostusb >> to inject it Do you think it will be a better solution ? > > that's the "right solution". > I'll reply again on list so folks can help you with it as needed. > >> Thanks >> Alain >> >> >> >> Alain VONDRA >> Chargé d'exploitation des Systèmes d'Information Direction >> Administrative et Financière >> +33 1 44 39 77 76 >> UNICEF France >> 3 rue Duguay Trouin 75006 PARIS >> www.unicef.fr >> >> >> >> >> >> De : Itamar Heim [ih...@redhat.com] >> Envoyé : vendredi 16 janvier 2015 19:21 À : VONDRA Alain Objet : Re: >> [ovirt-users] USB Modem in a VM >> >> On 01/15/2015 05:56 PM, VONDRA Alain wrote: >>> Hi, >>> Thank you for your answer, I've tried to insert my USB modem, but it >>> doesn't up in the Windows VM. >>> I've tried to insert via virt-manager without success, I can't apply the >>> modification, however I see the modem using lsusb : >>> >>> lsusb >>> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 >>> Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: >>> ID 8087:0024 Intel Corp. Integrated Rate Matching Hu