[Spice-devel] [PATCH v2 0/5] Make start and stop usb redirection asynchronous

Kirill Moizik kirill at daynix.com
Mon Jul 6 10:59:00 PDT 2015


This patches series make start/stop usb redirection flows to run in their own threads.
It solve spice freeze problem since  start and stop redirection is time consuming operations.
this series includes new api exposure, threads syncronization and new usb redirection widget behavior
Now when start/stop starts widget turn inactive and will  became active again when operation ends.

v2 changeset:
fix trailing whitespace
fix linux build with usb redirection
fix linux build without ussb redirection
set redirecting state as gobject property
separate commit for widget manipulations
commit messages fixes

Kirill Moizik (6):
  UsbDeviceManager add redirecting state
  WinUsbDev: add redirecting state to GUdevClientPrivate
  UsbWidget update widget on redirection flow
  Make start redirection asynchronous
  UsbDeviceManager: expose
    spice_usb_device_manager_driver_uninstall_async
  Make usb redirection stop and surprise removal flows asynchronous

 src/channel-usbredir-priv.h |   8 ++-
 src/channel-usbredir.c      | 113 +++++++++++++++++++++++++------
 src/map-file                |   3 +
 src/usb-device-manager.c    | 158 +++++++++++++++++++++++++++++++++++---------
 src/usb-device-manager.h    |   8 +++
 src/usb-device-widget.c     |  97 +++++++++++++++++++++++++--
 src/win-usb-dev.c           |  15 +++++
 src/win-usb-dev.h           |   2 +
 8 files changed, 343 insertions(+), 61 deletions(-)

-- 
2.1.0



More information about the Spice-devel mailing list