[Spice-devel] [spice-gtk 12/13] usb-redir: use persistent libusb_device under Windows also

Christophe Fergeau cfergeau at redhat.com
Tue Mar 12 17:31:22 UTC 2019


On Sun, Mar 10, 2019 at 04:46:11PM +0200, Yuri Benditovich wrote:
> Unify SpiceUsbDeviceInfo for Linux and Windows by using
> persistent libusb_device.

This really needs to be more detailed and explain why this is no longer
a valid concern:

* On win32 we need to do this the hard and slow way, by asking libusb to
* re-enumerate all devices and then finding a matching device.
* We cannot cache the libusb_device like we do under Linux since the
* driver swap we do under windows invalidates the cached libdev.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20190312/a0c78194/attachment.sig>


More information about the Spice-devel mailing list