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

Yuri Benditovich yuri.benditovich at daynix.com
Tue Jul 23 15:13:45 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.

Changes from v2: cosmetic changes

Yuri Benditovich (4):
  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                   |   2 +-
 src/channel-usbredir.c        |  28 ---
 src/meson.build               |   4 +-
 src/usb-backend.c             | 309 ++++++++++++++++++------
 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, 245 insertions(+), 776 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