<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 11, 2017 at 12:04 PM, Christophe Fergeau <span dir="ltr"><<a href="mailto:cfergeau@redhat.com" target="_blank">cfergeau@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, Apr 11, 2017 at 11:43:03AM +0300, Yuri Benditovich wrote:<br>
> <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1431137" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/<wbr>show_bug.cgi?id=1431137</a><br>
> When auto sharing of USB devices is enabled in remote-viewer's configuration<br>
> file, Windows spice client hides connected USB devices on client machine even<br>
> if USB redirection is disabled by --spice-disable-usbredir.<br>
><br>
> Signed-off-by: Yuri Benditovich <<a href="mailto:yuri.benditovich@daynix.com">yuri.benditovich@daynix.com</a>><br>
<br>
</span>Acked-by: Christophe Fergeau <<a href="mailto:cfergeau@redhat.com">cfergeau@redhat.com</a>><br>
(I'm assuming you can push this yourself?)<br>
<span class=""><br></span></blockquote><div><br></div><div>No, we can't push it, we have no push right in this repository. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
<br>
<br>
> ---<br>
> src/usb-device-manager.c | 6 ++++++<br>
> 1 file changed, 6 insertions(+)<br>
><br>
> diff --git a/src/usb-device-manager.c b/src/usb-device-manager.c<br>
> index 4d0b93d..6e6a683 100644<br>
> --- a/src/usb-device-manager.c<br>
> +++ b/src/usb-device-manager.c<br>
> @@ -1945,6 +1945,12 @@ void _usbdk_hider_update(<wbr>SpiceUsbDeviceManager *manager)<br>
> return;<br>
> }<br>
><br>
> + if (!spice_session_get_usbredir_<wbr>enabled(priv->session)) {<br>
> + SPICE_DEBUG("USB redirection disabled, no hider setup needed");<br>
> + _usbdk_hider_clear(manager);<br>
> + return;<br>
> + }<br>
> +<br>
> if (!priv->auto_connect) {<br>
> SPICE_DEBUG("Auto-connect disabled, no hider setup needed");<br>
> _usbdk_hider_clear(manager);<br>
> --<br>
> 2.9.3<br>
><br>
</span>> ______________________________<wbr>_________________<br>
> Spice-devel mailing list<br>
> <a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.<wbr>org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/spice-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/spice-devel</a><br>
</blockquote></div><br></div></div>