Re: [Spice-devel] [spice-gtk 04/13] usb-redir: do not add device if one with the same bus:addr exists

2019-03-13 Thread Christophe Fergeau
On Wed, Mar 13, 2019 at 09:40:14AM +0200, Yuri Benditovich wrote: > On Mon, Mar 11, 2019 at 7:17 PM Christophe Fergeau > wrote: > > > > On Sun, Mar 10, 2019 at 04:46:03PM +0200, Yuri Benditovich wrote: > > > In initial device enumeration hotplug notification can be > > > called twice with the

Re: [Spice-devel] [spice-gtk 04/13] usb-redir: do not add device if one with the same bus:addr exists

2019-03-13 Thread Yuri Benditovich
On Mon, Mar 11, 2019 at 7:17 PM Christophe Fergeau wrote: > > On Sun, Mar 10, 2019 at 04:46:03PM +0200, Yuri Benditovich wrote: > > In initial device enumeration hotplug notification can be > > called twice with the same libusb device. For details, see > >

Re: [Spice-devel] [spice-gtk 04/13] usb-redir: do not add device if one with the same bus:addr exists

2019-03-11 Thread Christophe Fergeau
On Sun, Mar 10, 2019 at 04:46:03PM +0200, Yuri Benditovich wrote: > In initial device enumeration hotplug notification can be > called twice with the same libusb device. For details, see > http://libusb.sourceforge.net/api-1.0/group__libusb__hotplug.html#ga00e0c69ddf1fb1b6774dc918192e8dc7 > Filter

Re: [Spice-devel] [spice-gtk 04/13] usb-redir: do not add device if one with the same bus:addr exists

2019-03-11 Thread Christophe Fergeau
On Sun, Mar 10, 2019 at 04:46:03PM +0200, Yuri Benditovich wrote: > In initial device enumeration hotplug notification can be "In initial device enumeration, hotplug notification..." > called twice with the same libusb device. For details, see >

[Spice-devel] [spice-gtk 04/13] usb-redir: do not add device if one with the same bus:addr exists

2019-03-10 Thread Yuri Benditovich
In initial device enumeration hotplug notification can be called twice with the same libusb device. For details, see http://libusb.sourceforge.net/api-1.0/group__libusb__hotplug.html#ga00e0c69ddf1fb1b6774dc918192e8dc7 Filter out devices that already present in the list. Remove indentical call in