[Spice-devel] [spice-gtk v3 0/2] CD sharing feature

Yuri Benditovich yuri.benditovich at daynix.com
Thu Sep 13 10:08:24 UTC 2018


This series of patches adds ability to share ISO files or
local CD devices with guest system using USB redirection
by emulation of USB CD device.
For more information see commit comment of patch 2.

Changes from v2:
 Fixed build under gcc 8
 Changed 'RedHat' to 'Red Hat' in usb-dev-manager.c
 Added signoff of all the developers

Yuri Benditovich (2):
  cd-sharing: new source and header files
  cd-sharing: Implementation of CD sharing feature

 configure.ac                  |   27 +
 src/Makefile.am               |   15 +-
 src/cd-device-linux.c         |  137 ++
 src/cd-device-win.c           |  193 +++
 src/cd-device.h               |   40 +
 src/cd-scsi-dev-params.h      |   52 +
 src/cd-scsi.c                 | 2765 +++++++++++++++++++++++++++++++++++++++++
 src/cd-scsi.h                 |  122 ++
 src/cd-usb-bulk-msd.c         |  555 +++++++++
 src/cd-usb-bulk-msd.h         |  134 ++
 src/channel-usbredir-priv.h   |    9 +-
 src/channel-usbredir.c        |  267 ++--
 src/map-file                  |    9 +
 src/scsi-constants.h          |  324 +++++
 src/spice-option.c            |   15 +
 src/usb-backend-common.c      | 2015 ++++++++++++++++++++++++++++++
 src/usb-backend.h             |  112 ++
 src/usb-device-manager-priv.h |    5 +-
 src/usb-device-manager.c      |  743 +++++++----
 src/usb-device-manager.h      |  107 +-
 src/usb-device-redir-widget.c | 2065 ++++++++++++++++++++++++++++++
 src/usb-device-widget.c       |    5 +
 src/usbutil.c                 |   52 +-
 src/usbutil.h                 |    5 +-
 src/win-usb-dev.c             |   66 +-
 src/win-usb-dev.h             |    2 +
 26 files changed, 9321 insertions(+), 520 deletions(-)
 create mode 100644 src/cd-device-linux.c
 create mode 100644 src/cd-device-win.c
 create mode 100644 src/cd-device.h
 create mode 100644 src/cd-scsi-dev-params.h
 create mode 100644 src/cd-scsi.c
 create mode 100644 src/cd-scsi.h
 create mode 100644 src/cd-usb-bulk-msd.c
 create mode 100644 src/cd-usb-bulk-msd.h
 create mode 100644 src/scsi-constants.h
 create mode 100644 src/usb-backend-common.c
 create mode 100644 src/usb-backend.h
 create mode 100644 src/usb-device-redir-widget.c

-- 
2.9.4



More information about the Spice-devel mailing list