Bug 1099318
| Summary: | fail to redirect USB stick with error when remote pass-through it from win7-sp1-x64bit machine via virt-viewer | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Sibiao Luo <sluo> |
| Component: | mingw-virt-viewer | Assignee: | Dmitry Fleytman <dfleytma> |
| Status: | CLOSED WONTFIX | QA Contact: | SPICE QE bug list <spice-qe-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.3.0 | CC: | cfergeau, chayang, dblechte, dfleytma, dyuan, gklein, hdegoede, juzhang, kraxel, marcandre.lureau, michen, mkrcmari, mzhan, qzhang, rbalakri, rh-spice-bugs, srevivo, tzheng, uril, xfu |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-05-16 18:26:13 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Spice | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Attachments: | |||
|
Description
Sibiao Luo
2014-05-20 04:57:41 UTC
Created attachment 897420 [details]
error message screenshot for hel7 host running VM with USB redirected from the win7-sp1-64bit machine.
Created attachment 897421 [details]
error message screenshot for rhel6.5 host running VM with USB redirected from the win7-sp1-64bit machine.
(In reply to Sibiao Luo from comment #0) > Steps to Reproduce: > 1.launch a rhel7 VM on rhel7/rhel6.5 host with usb-redir and cirrus vga > specified. sorry for description error, it's launching a rhel7 VM on rhel7/rhel6.5 host with usb-redir and qxl vga specified. > e.g:# /usr/libexec/qemu-kvm -M pc -cpu SandyBridge -enable-kvm -m 2048 -smp > 2,sockets=2,cores=1,threads=1 -no-kvm-pit-reinjection...-spice > disable-ticketing,port=5933 -vga qxl -global qxl-vga.vram_size=67108864 > -device usb-ehci,id=ehci0,bus=pci.0,addr=0x7 -chardev > spicevmc,name=usbredir,id=usbredirchardev1 -device > usb-redir,chardev=usbredirchardev1,id=usbredirdev1,bus=ehci0.0,debug=3 Should be fixed by https://git.fedorahosted.org/cgit/virt-viewer.git/commit/?id=999b734865d18235fef53609d59db6e56a92df02 May be it cannot fixed the bug. virtviewer-0.6 has used the code in https://git.fedorahosted.org/cgit/virt-viewer.git/commit/?id=999b734865d18235fef53609d59db6e56a92df02, but when I use virt-viewer-0.6.0.tar.gz, has the same error. Yeah sorry, I commented on the wrong bug, this was meant to be in bug #1099327 and bug #1099295 I can reproduce this bug with the below version: rhel 7 host: spice-server-0.12.4-5.el7.x86_64 usbredir-0.6-7.el7.x86_64 libvirt-1.1.1-29.el7.x86_64 qemu-kvm-rhev-1.5.3-60.el7ev.x86_64 rhel6 host: spice-server-0.12.4-8.el6.x86_64 libvirt-0.10.2-36.el6.x86_64 qemu-kvm-rhev-0.12.1.2-2.425.el6.x86_64 usbredir-0.5.1-1.el6.x86_64 usb-guest(VM) info: rhel7 kerenl-3.10.0-121.el7.x86_64 usb-host(run virt-viewer client) info: win7-sp1-x64bit spice-client-msi-3.4-3(usbclerk-x64-0.3.3.msi & virt-viewer-x64-0.5.6.msi) brewweb download link: https://brewweb.devel.redhat.com/buildinfo?buildID=353689 usb device info: USB 3.0 stick Steps: 1.launch a rhel7 VM on rhel7/rhel6.5 host with usb-redir and cirrus vga specified. 2.install spice-client-msi-3.4-3(usbclerk-x64-0.3.3.msi & virt-viewer-x64-0.5.6.msi) in win7-sp1-x64bit usb-host and make sure the USB Clerk service started in my win7-sp1-x64bit machine("Computer Managerment------Serces and Applications---- Services"). 3.Insert the USB 3.0 stick to a win7-sp1-x64bit usb-host. 4.run the virt-viewer client on the win7-sp1-x64bit usb-host. URL: spice://$rhel7_host_addr:$port 5.select the redirected USB stick device via "'File' menu --- 'USB device selection'" in the virt-viewer client. Result: - I. cirrus vga by default: rhel7 host running a VM + virt-viewer runs on win7 machine --- grayed button rhel6 host running a VM + virt-viewer runs on win7 machine --- grayed button - II. with qxl vga: rhel7 host running a VM + virt-viewer runs on win7 machine --- Error redirect:USB redirection error: Could not redirect $usb Device: could not claim interface 0 (configuration 1): LIBUSB_ERROR_ACCESS rhel6.5 host running a VM + virt-viewer runs on win7 machine --- Error redirect:USB redirection error: Could not redirect $usb Device: Could not open usb device: Operation not supported or unimplemented on this platform [-12] this is an automated message. oVirt 3.6.0 RC3 has been released and GA is targeted to next week, Nov 4th 2015. Please review this bug and if not a blocker, please postpone to a later release. All bugs not postponed on GA release will be automatically re-targeted to - 3.6.1 if severity >= high - 4.0 if severity < high (In reply to Sandro Bonazzola from comment #16) > this is an automated message. oVirt 3.6.0 RC3 has been released and GA is > targeted to next week, Nov 4th 2015. > Please review this bug and if not a blocker, please postpone to a later > release. > All bugs not postponed on GA release will be automatically re-targeted to > > - 3.6.1 if severity >= high > - 4.0 if severity < high agree, moving to 4.0 oVirt 4.0 Alpha has been released, moving to oVirt 4.0 Beta target. |