Bug 1031775
Summary: | [RFE] USB Redirection device options in virt-manager | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Bill Sanford <bsanford> |
Component: | virt-manager | Assignee: | Giuseppe Scrivano <gscrivan> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | CC: | acathrow, adevolder, bsanford, codong, dallan, dyuan, gscrivan, lcui, mjenner, mkletzan, mzhan, rmcswain, tzheng, vipatel, zsong |
Target Milestone: | rc | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | virt-manager-0.10.0-1.el7 | Doc Type: | Enhancement |
Doc Text: | Story Points: | --- | |
Clone Of: | 964215 | Environment: | |
Last Closed: | 2014-06-13 09:32:27 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: | |||
Bug Depends On: | 964215, 1001999 | ||
Bug Blocks: | 807277 |
Comment 2
Martin Kletzander
2013-11-19 09:10:42 UTC
USB passthrough for SPICE is not working unless you edit the XML file of the guest. This has been cloned for RHEL 7 after it first appeared and still not fixed in RHEL 6.x. Sorry, I forgot the bug was about SPICE redirection. This is the XML generated when "USB Redirection" with type "SPICE Channel" is added trough the virt-manager interface: + <redirdev bus='usb' type='spicevmc'> + </redirdev> The upstream version of virt-manager generates the same XML. What do you have to modify in order to get it working? Setting needinfo in order to reflect the question in comment #5. For Fedora and RHEL to get USB Passthrough working to test it, we have to modify the XML of the VM according to the following: http://hansdegoede.livejournal.com/11084.html I thought it would have been a virt-manager option now, since this was introduced in Fedora 16, but that's currently not the case. what version of Fedora are you using? The virt-manager available on my Fedora 19 (virt-manager-0.10.0-4.fc19.noarch) has the capability to add an USB Redirection device and to specify SPICE as type. Could you please verify it? that has the effect of adding the following XML to the VM definition: + <redirdev bus='usb' type='spicevmc'> + </redirdev> Hi Giuseppe, last time we tried F19 spice USB redirection was not working, I don't know what version, but we don't really test Fedora, mostly just RHEL. So maybe it has been updated. It just needs to be defined as the link defines it in Comment 9. Hi Giuseppe, I modified an xml and just added those two lines and usb redirection does work as expected, so that should be what we need. Retest it with virt-manager-0.10.0-8.el7, USB Redirection device options have been added into virt-manager, and usb device could be redirected into guest. So, set the status as "VERIFIED" Retest steps: 1. Prepare a spice guest which is in stopped status. 2. Plug the USB disk into Host 3. Open virt-manager -> spiceGuest -> View -> Details -> Add Hardware -> USB Redirection and choose Spice channel Type, then click Finish. 4. Start this spice guest, then open virt-manager -> spiceGuest -> Virtual Machine -> Redirect USB device, then choose your usb disk and click OK button. 5. From the guest, we could see this newly added usb disk. This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |