
Hi All, I have Ovirt 4.1 with 3 nodes on top glusterfs. I Have 2 VMs: Windows 2016 64bit and Windows 10 64bit When I attach a USB flash disk to a VM (from host devices) the VM cannot see the USB drive and report driver issue at device manager (see attached). This happens with both VMs when tested. When testing with Windows 7 or Windows XP USB is attached and accessed normally. Have you encountered such issue? I have installed latest guest tools on both VMs. Many thanx

Hi All, Finally I was able to pin-point the issue. Just in case ones needs this. ovirt by default enables USB 1.0 controller. To enable USB 2.0 controller go to At ovirt engine at config file below, change the controller from piix3-uhci to piix4-uhci as below: /etc/ovirt-engine/osinfo.conf.d/00-defaults.properties os.other.devices.usb.controller.value = piix4-uhci then restart engine: systemctl restart ovirt-engine USB device then is attached successfully at Windows VM. On Wed, Jun 28, 2017 at 12:44 PM, Abi Askushi <rightkicktech@gmail.com> wrote:

--Apple-Mail=_F25A2054-5BA9-4192-801D-39EBE12E53CA Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 piix3-uhci to piix4-uhci as below:=20
=20
piix4-uhci is still USB1 controller the one we use is still the most compatible default, we do not test any = other (other than set of USB2 and USB1 companions when using SPICE) you=E2=80=99re welcome to overwrite it (not by changing the defaults = which gets overwritten on upgrade, but rather extending it by your = custom properties, ideally per OS type where you need that change) You can use all the QEMU supported controllers, e.g. xhci if you want = USB3=20 Thanks, michal
--Apple-Mail=_F25A2054-5BA9-4192-801D-39EBE12E53CA Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" = class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div = class=3D"">On 11 Jul 2017, at 10:09, Abi Askushi <<a = href=3D"mailto:rightkicktech@gmail.com" = class=3D"">rightkicktech@gmail.com</a>> wrote:</div><br = class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" = class=3D""><div class=3D""><div class=3D"">Hi All, <br class=3D""><br = class=3D""></div>Finally I was able to pin-point the issue. <br = class=3D""></div><div class=3D"">Just in case ones needs this. <br = class=3D""><br class=3D""><br class=3D""></div>ovirt by default enables = USB 1.0 controller. <br class=3D""><div class=3D"gmail-tb-comment-text = gmail-js-comment-text"><div class=3D""><span class=3D""><div class=3D""><p= class=3D""><span class=3D"">To enable USB 2.0 controller go to<br = class=3D""></span></p></div><div class=3D""><p class=3D""><span = class=3D"">At ovirt engine at config file below, </span><span = class=3D""><span class=3D"">change the controller from </span><span = class=3D""><span class=3D"">piix3-uhci to </span></span><span = class=3D""><span class=3D"">piix4-uhci</span></span><span class=3D""> as = below: </span><span class=3D""><br = class=3D""></span></span></p></div></span></div></div></div></div></blockq= uote><div><br class=3D""></div>piix4-uhci is still USB1 = controller</div><div>the one we use is still the most compatible = default, we do not test any other (other than set of USB2 and USB1 = companions when using SPICE)</div><div>you=E2=80=99re welcome to = overwrite it (not by changing the defaults which gets overwritten on = upgrade, but rather extending it by your custom properties, ideally per = OS type where you need that change)</div><div>You can use all the QEMU = supported controllers, e.g. xhci if you want USB3 </div><div><br = class=3D""></div><div>Thanks,</div><div>michal</div><div><blockquote = type=3D"cite" class=3D""><div class=3D""><div dir=3D"ltr" class=3D""><div = class=3D"gmail-tb-comment-text gmail-js-comment-text"><div = class=3D""><span class=3D""><div class=3D""><p class=3D""><br = class=3D""><span = class=3D"">/etc/ovirt-engine/osinfo.conf.d/00-defaults.properties</span></= p><p class=3D""><span class=3D""></span><span class=3D""></span><br = class=3D""><span class=3D"">os.other.devices.usb.controller.value =3D = piix4-uhci</span></p><p class=3D""><span class=3D""><br = class=3D""></span></p></div><div class=3D""><p class=3D""><span = class=3D"">then restart engine:</span><br class=3D""><span = class=3D"">systemctl restart ovirt-engine</span></p></div><div = class=3D""><p class=3D""><span class=3D""><br class=3D""></span></p><p = class=3D""><span class=3D"">USB device then is attached successfully at = Windows VM. <br class=3D""></span></p></div></span></div></div></div><div = class=3D"gmail_extra"><br class=3D""><div class=3D"gmail_quote">On Wed, = Jun 28, 2017 at 12:44 PM, Abi Askushi <span dir=3D"ltr" class=3D""><<a = href=3D"mailto:rightkicktech@gmail.com" target=3D"_blank" = class=3D"">rightkicktech@gmail.com</a>></span> wrote:<br = class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 = .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr" = class=3D""><br class=3D""><div class=3D"gmail_quote"><div dir=3D"ltr" = class=3D""><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D""><div = class=3D""><div class=3D"">Hi All,<br class=3D""><br class=3D""></div>I = have Ovirt 4.1 with 3 nodes on top glusterfs.<br class=3D""><br = class=3D""></div>I Have 2 VMs: Windows 2016 64bit and Windows 10 64bit<p = class=3D"">When I attach a USB flash disk to a VM (from host devices) = the VM cannot see the USB drive and report driver issue at device = manager (see attached). This happens with both VMs when tested. <br = class=3D""></p><p class=3D"">When testing with Windows 7 or Windows XP = USB is attached and accessed normally. <br class=3D""></p>Have you = encountered such issue? <br class=3D""></div><div class=3D"">I have = installed latest guest tools on both VMs. <br class=3D""></div> </div><br class=3D""></div><div class=3D"">Many thanx<br class=3D""></div>= </div><br class=3D""></div> </blockquote></div><br class=3D""></div> _______________________________________________<br class=3D"">Users = mailing list<br class=3D""><a href=3D"mailto:Users@ovirt.org" = class=3D"">Users@ovirt.org</a><br = class=3D"">http://lists.ovirt.org/mailman/listinfo/users<br = class=3D""></div></blockquote></div><br class=3D""></body></html>= --Apple-Mail=_F25A2054-5BA9-4192-801D-39EBE12E53CA--
participants (2)
-
Abi Askushi
-
Michal Skrivanek