[spice-gtk v2 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

Changes from v1: cosmetic changes per v1 review
Added a rebased patch (3) from Frediano Ziglio
For the increment see
https://gitlab.freedesktop.org/yuri_benditovich/spice-gtk/commits/backend2-increment


Yuri Benditovich (3):
  usb-redir: isolate usage of libusb and usbredirhost
  usb-redirection: do not duplicate USB device properties
  usb-device-manager: Define _SpiceUsbDevice instead of
    SpiceUsbDeviceInfo

 src/Makefile.am               |   2 +
 src/channel-usbredir-priv.h   |  12 +-
 src/channel-usbredir.c        | 236 ++----------
 src/meson.build               |   2 +
 src/usb-backend.c             | 657 ++++++++++++++++++++++++++++++++++
 src/usb-backend.h             | 102 ++++++
 src/usb-device-manager-priv.h |   1 -
 src/usb-device-manager.c      | 397 +++++++-------------
 src/win-usb-dev.c             | 103 ++----
 src/win-usb-dev.h             |   5 +-
 10 files changed, 969 insertions(+), 548 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]