Bug 1003083
| Summary: | [Fedora19] Virt-viewer/Spice fail to auto redirect USB devices to Windows 7 x64 guest | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | PaulB <pbunyan> |
| Component: | virt-viewer | Assignee: | Daniel Berrangé <berrange> |
| Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 19 | CC: | berrange, bpeck, cfergeau, crobinso, hbrock, jburke, jforbes, pbunyan, virt-maint |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-09-03 16:29:31 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Fedora 19 virt-manager does not support usb redirection, but the support is upstream. So this is invalid for F19 at least. On F19 with an F19 guest, spice-agent installed. I do: - Shutdown the VM - In virt-manager, switch to USB2 controller, apply - In virt-manager, add redir with spice channel, apply - Start the VM - Run virt-viewer --connect qemu:///system $vmname - Let it boot, log in - Plug in a usb drive on the host, it pops up in the guest So this appears to be working for a linux guest at least. Make sure you restarted the VM after changing the hardware, enabled USB2 in virt-manager, and have the spice agent running the windows guest. If you still have issues, open a new virt-viewer or spice bug. I would first verify you can get things working with a linux guest so you know the setup is correct, then try with a windows VM. Cole, I appreciate you taking the time to verify that this works for a Linux host/ Linux guest configuration. The Subject and the Description both call out that this is a Linux and Windows Bugzilla. Regards, Jeff The reporter's instructions were sufficiently vague that it is very likely they are missing a necessary step to make USB redirection work at all, regardless of guest OS, not to mention that it is filed against F19 virt-manager which doesn't support usb redirection at all. So I'll reassign to virt-viewer. Reporter, please verify that you can get a setup working with an F19 guest first to rule out any USB redirection host issues, then try windows, and document exactly what you do to get it working (namely where you get the windows agent, how you installed it, verify its running, etc). (In reply to Cole Robinson from comment #2) > Fedora 19 virt-manager does not support usb redirection, but the support is > upstream. So this is invalid for F19 at least. > > On F19 with an F19 guest, spice-agent installed. I do: > > - Shutdown the VM > - In virt-manager, switch to USB2 controller, apply > - In virt-manager, add redir with spice channel, apply > - Start the VM > - Run virt-viewer --connect qemu:///system $vmname > - Let it boot, log in > - Plug in a usb drive on the host, it pops up in the guest > Cole, I re-tested the VM_Win7Guest, as you suggested. The testing was successful, as the VM_Win7Guest was able to see and access the USB drive. Looking at the instructions I listed (see opening comment and comment#1), I missed the following step: [] virt-manager->Controller USB->set model to "USB 2" I tested both the following commands successfully: -virt-viewer --connect qemu:///system VM_Win7Guest -remote-viewer spice://localhost:5900 ======================================================= *Notably, when you start the VM_Win7Guest and select File->USB device selection you _are_ able to check the box next to the USB device you inserted. However, I see a warning (an exclamation point inside a yellow triangle) that states "There are no free USB channels". Regardless, once I click the close button, the USB device is detected and accessible by the VM_Win7Guest. ======================================================= One would have expected the USB device to be auto detected... Thank you. Best, -pbunyan Okay so sounds like this is working for everyone, closing. If you want to follow up with that other UI issue, the component would be spice-gtk I think |
Description of problem: Testing a Fedora19 Host with a Windows7 VM_Guest installed, we are unable to auto redirect USB devices to the Windows7 x64 VM_Guest. Version-Release number of selected component (if applicable): kernel 3.9.5-301.fc19.x86_64 qemu-kvm.x86_64 2:1.4.2-3.fc19 qemu-kvm-tools.x86_64 2:1.4.2-7.fc19 qemu-guest-agent.x86_64 2:1.4.2-3.fc19 libverto.x86_64 0.2.5-2.fc19 virt-manager.noarch 0.10.0-0.5.gitde1695b2.fc19 virt-viewer.x86_64 0.5.6-1.fc19 How reproducible: Consistently Steps to Reproduce: 1. Install Fedora19 2. Create a VM_Guest using virt-manager GUI 3. Install VM_Guest with Windows7 Pro 4. Add New Virtual Hardware USB Redirection for the the VM_guest 5. Plug in a USB device 6. Using virt-manager GUI the VM_guest is unable to access USB device Using spice the VM_guest is unable to access USB device #remote-viewer spice://localhost:5900 Actual results: -Run remote-viewer spice://localhost:5900 -Plug a USBdrive into the HOST -VM_guest is unable to see/access the USBdrive *Please see comment#1 for the Spice workaround Expected results: I should be able to access USB device from a Windows 7 x64 VM_guest successfully. Additional info: The following RHEL6 BZ is open regarding this issue: https://bugzilla.redhat.com/show_bug.cgi?id=916192