[Spice-devel] [spice-gtk v2 0/9] usb-redir: unification of Linux and Windows code

Yuri Benditovich yuri.benditovich at daynix.com
Tue Jul 23 07:26:59 UTC 2019


This series is dedicated to unification of Linux Windows flows
in usb-device-manager. It moves differences related to libusb
to USB backend module and simplifies implementation of procedures
related to USB redirection.

Yuri Benditovich (9):
  build: require minimal libusb version 1.0.21
  usb-redir: move 3 static procedures up for further reuse
  usb-redir: split fill_usb_info procedure for further reuse
  usb-redir: change parameter name 'bdev' to 'dev'
  usb-redir: cosmetic changes in hotplug_callback
  usb-redir: unify device hotplug/unplug for Windows and Linux
  usb-redir: pass GError to hotplug registration procedure
  usb-redir: move USB events handling to USB backend
  usb-redir: use g_thread_try_new instead of g_thread_new

 meson.build                   |   4 +-
 src/channel-usbredir.c        |  28 ---
 src/meson.build               |   4 +-
 src/usb-backend.c             | 419 ++++++++++++++++++++++----------
 src/usb-backend.h             |  13 +-
 src/usb-device-manager-priv.h |   6 -
 src/usb-device-manager.c      | 139 +----------
 src/win-usb-dev.c             | 436 ----------------------------------
 src/win-usb-dev.h             |  84 -------
 9 files changed, 301 insertions(+), 832 deletions(-)
 delete mode 100644 src/win-usb-dev.c
 delete mode 100644 src/win-usb-dev.h

-- 
2.17.1



More information about the Spice-devel mailing list