[PATCH 0/3] Implementation of USB backend layer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This layer communicates with libusb and libusbredir and
provides the API for all the operations related to USB
redirection. All other modules of spice-gtk communicate
only with usb backend instead of calling libusb and
usbredirhost directly.
This is prerequisite of further implementation of
cd-sharing via USB redirection

Yuri Benditovich (3):
  usb: use native libusb procedure for getting error name
  usb-redirection: isolate usage of libusb and usbredirhost
  usb-redirection: do not duplicate USB device properties

 src/Makefile.am               |   2 +
 src/channel-usbredir-priv.h   |   9 +-
 src/channel-usbredir.c        | 216 +++---------
 src/meson.build               |   2 +
 src/usb-backend.c             | 622 ++++++++++++++++++++++++++++++++++
 src/usb-backend.h             | 110 ++++++
 src/usb-device-manager-priv.h |   1 -
 src/usb-device-manager.c      | 353 +++++++------------
 src/usbutil.c                 |  36 --
 src/usbutil.h                 |   2 -
 src/win-usb-dev.c             | 103 ++----
 src/win-usb-dev.h             |   5 +-
 12 files changed, 936 insertions(+), 525 deletions(-)
 create mode 100644 src/usb-backend.c
 create mode 100644 src/usb-backend.h

-- 
2.17.1

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]