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.
Kirill Moizik (5):
UsbDeviceManager add redirecting state
WinUsbDev: add redirecting state to GUdevClientPrivate
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 | 109 +++++++++++++++++++++++++++--------
src/map-file | 5 ++
src/usb-device-manager.c | 135 +++++++++++++++++++++++++++++++++++---------
src/usb-device-manager.h | 14 +++++
src/usb-device-widget.c | 73 +++++++++++++++++++++---
src/win-usb-dev.c | 15 +++++
src/win-usb-dev.h | 2 +
8 files changed, 305 insertions(+), 56 deletions(-)
--
2.1.0
_______________________________________________
Spice-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/spice-devel