[Spice-devel] [PATCH spice-gtk 00/14] USB fail early on win32 without usbclerk

Marc-André Lureau marcandre.lureau at gmail.com
Wed Apr 23 11:09:05 PDT 2014


Hi,

Here is a small series, of little cleanups, and of goal to throw early
an error when the win32 usbclerk can't be reached. In turn, the error
can be catched by client code to show a useful dialog.

Marc-André Lureau (14):
  usb: remove useless declaration
  win-usb: introduce a spice_win_usb_driver_op_finish
  win-usb: rename async functions
  win-usb: add uninstall_finish()
  usb: use win-usb uninstall_finish()
  win-usb: throw an error if reply.status != 0
  win-usb: get rid of status code return in async ops
  usb: remove useless device ref/unref
  usb: remove useless assignment
  usb: use SPICE_CLIENT_ERROR_ prefix
  usb: call win_usb_driver_new() during initable_init()
  win-usb: remove useless function
  usb: do not return GError on programmer pre-condition checks
  win-usb: try to connect to usbclerk during init

 gtk/channel-usbredir.c       |   4 +-
 gtk/spice-client.h           |  13 +++-
 gtk/usb-device-manager.c     | 120 ++++++++++++++++--------------------
 gtk/win-usb-driver-install.c | 141 ++++++++++++++++++++++++++-----------------
 gtk/win-usb-driver-install.h |  28 +++++----
 5 files changed, 164 insertions(+), 142 deletions(-)

-- 
1.8.5.3



More information about the Spice-devel mailing list