<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - USB device can redirect to two vm host"
href="https://bugs.freedesktop.org/show_bug.cgi?id=104256">104256</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>USB device can redirect to two vm host
</td>
</tr>
<tr>
<th>Product</th>
<td>Spice
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>spice-gtk
</td>
</tr>
<tr>
<th>Assignee</th>
<td>spice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jyf3911306@sina.com
</td>
</tr></table>
<p>
<div>
<pre>Following rpms are relating to usb redirection installed in my Centos7.3:
virt-viewer-5.0-7.el7.x86_64
spice-glib-0.33-6.ky3.x86_64
spice-vdagent-0.14.0-14.ky3.kb2.x86_64
spice-gtk3-0.33-6.ky3.x86_64
usbredir-0.7.1-2.ky3.x86_64
libusb-0.1.4-3.ky3.kb2.x86_64
libusbx-1.0.20-1.ky3.kb2.x86_64
This days, I'm working with usb redirection with virt-viewer. And A ukey
device( a usb device, vid:1111, pid:2222) is used in my testing.
I lauch the virt-viewer with the argument:
--spice-usbredir-redirect-on-connect="-1,0x1111,0x2222,-1,1", and I find that
the ukey device can be redirected to two vm host(whatever it is, you can see
the ukey device in the vm host system) if launch two virt-viewer threads. I try
the other usb device(e.g. USB Mass Storage Device), it can be happend.
The lauch command is: /usr/bin/remote-viewer -t mcadmin1@Win7-32
--spice-smartcard --spice-usbredir-auto-redirect-filter=-1,-1,-1,-1,1
--spice-usbredir-redirect-on-connect="-1,0x1111,0x2222,-1,1"
spice://192.168.130.110:5900</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>