[Spice-devel] [spice-gtk 00/13] use persistent libusb_device on Windows

Yuri Benditovich yuri.benditovich at daynix.com
Sun Mar 10 14:45:59 UTC 2019


This series unifies part of USB redirection code for Windows making
it the same as for Linux by using persistent libusb_device also on
Windows.

Yuri Benditovich (13):
  usb-redir: replace USE_GUDEV with G_OS_WIN32
  usb-redir: remove unused 'subsystem' parameter
  usb-redir: reuse libusb context under Windows
  usb-redir: do not add device if one with the same bus:addr exists
  win-usb-dev: strict comparison of USB devices
  win-usb-dev: remove unused procedure
  usb-redir: discard cold-plug device list under Windows
  usb-redir: change signal prototype of win-usb-dev
  win-usb-dev: do not allocate memory for hub devices
  win-usb-dev: maintain list of libusb devices
  win-usb-dev: report libusb_device via signal
  usb-redir: use persistent libusb_device under Windows also
  win-usb-dev: remove unused code

 src/usb-device-manager.c | 267 ++++++---------------------------------
 src/win-usb-dev.c        | 259 +++++++++++--------------------------
 src/win-usb-dev.h        |  35 +----
 3 files changed, 114 insertions(+), 447 deletions(-)

-- 
2.17.1



More information about the Spice-devel mailing list