Bug 1164695

Summary: can not use usb stick when attached via usb-redir using TCP type
Product: Red Hat Enterprise Linux 7 Reporter: Jun Li <juli>
Component: qemu-kvm-rhevAssignee: Gerd Hoffmann <kraxel>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: high    
Version: 7.0CC: hhuang, juzhang, michen, qzhang, virt-bugs, virt-maint, xfu, xwei
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-21 13:26:56 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:

Comment 2 Gerd Hoffmann 2014-11-18 11:33:39 UTC
possibly dup of bug 1074219

please test http://people.redhat.com/ghoffman/bz1074219

Comment 3 Gerd Hoffmann 2014-11-18 13:11:48 UTC
(In reply to Gerd Hoffmann from comment #2)
> possibly dup of bug 1074219
> 
> please test http://people.redhat.com/ghoffman/bz1074219

Oops, scratch that, wrong bug, dup candidate is bug 1160504.

Comment 5 Gerd Hoffmann 2015-05-04 08:16:18 UTC
(In reply to Gerd Hoffmann from comment #3)

> Oops, scratch that, wrong bug, dup candidate is bug 1160504.

qemu-kvm-rhev-2.1.2-11.el7 fixes bug 1160504, please retest.

Comment 7 Gerd Hoffmann 2015-08-31 10:31:10 UTC
see comment 5

Comment 8 Ademar Reis 2015-09-18 12:41:05 UTC
(In reply to Gerd Hoffmann from comment #5)
> (In reply to Gerd Hoffmann from comment #3)
> 
> > Oops, scratch that, wrong bug, dup candidate is bug 1160504.
> 
> qemu-kvm-rhev-2.1.2-11.el7 fixes bug 1160504, please retest.

High chances this one is fixed (dupe of bug 1160504), please retest.

Comment 9 juzhang 2015-09-21 09:15:39 UTC
Hi Xwei,

Could you please have a try?

Best Reards,
Junyi

Comment 10 Xiaoqing Wei 2015-09-21 10:27:52 UTC
host:
kernel-3.10.0-314.el7.x86_64
qemu-kvm-rhev-2.3.0-22.el7.x86_64
spice-server-0.12.4-13.el7.x86_64
guest:
Windows 10 x86_64


host-a: this one has a usb device attached and would like to share to guest running atop host-b.

sudo usbredirserver -p 6000 XXXX:YYYY  (the usb device id from lsusb)


host-b: configure a VM in virt-manager, in VM panel:
Add hardware, 'USB redirection', in type choose tcp, fill in IP Addr of host-a, port 6000, as above listed.

virsh start vm

huge bunch of logs from usbredirserver on host-a observed.

after vm booted into OS, exec 'diskpart'
list disk
sel disk 1
create part pri
format fs=ntfs quick
assign

and got a drive D: inside vm.

enter it, and copy file to it.



all work good, except it seem slow, when comparing to spicevmc on my test.

Comment 11 Gerd Hoffmann 2015-09-21 13:26:56 UTC

*** This bug has been marked as a duplicate of bug 1160504 ***