[Spice-devel] [spice-gtk v2 0/8] added feature of sharing CD image

Yuri Benditovich yuri.benditovich at daynix.com
Sun Aug 4 19:16:16 UTC 2019


This series of patches adds feature of sharing CD image via
redirection of emulated CD device. Currently the trigger to
create the device is command-line option:
'--spice-share-cd <ISO file name>

Changes from v1: fixes resulted by reviews (mainly based on fixups
of Frediano Ziglio)

Yuri Benditovich (8):
  usb-redir: define interfaces to support emulated devices
  usb-redir: move implementation of device description to USB backend
  usb-redir: do not use spice_usb_acl_helper for emulated devices
  usb-redir: extend USB backend to support emulated devices
  usb-redir: add files for SCSI and USB MSC implementation
  usb-redir: add implementation of emulated CD device
  usb-redir: enable redirection of emulated CD drive
  usb-redir: command-line option to create emulated CD drive

 src/cd-scsi-dev-params.h |   49 +
 src/cd-scsi.c            | 2758 ++++++++++++++++++++++++++++++++++++++
 src/cd-scsi.h            |  121 ++
 src/cd-usb-bulk-msd.c    |  546 ++++++++
 src/cd-usb-bulk-msd.h    |  134 ++
 src/channel-usbredir.c   |   31 +-
 src/meson.build          |    8 +
 src/scsi-constants.h     |  324 +++++
 src/spice-option.c       |   17 +
 src/usb-backend.c        |  728 +++++++++-
 src/usb-backend.h        |    4 +
 src/usb-device-cd.c      |  790 +++++++++++
 src/usb-device-cd.h      |   37 +
 src/usb-device-manager.c |   63 +-
 src/usb-emulation.h      |   91 ++
 15 files changed, 5638 insertions(+), 63 deletions(-)
 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-device-cd.c
 create mode 100644 src/usb-device-cd.h
 create mode 100644 src/usb-emulation.h

-- 
2.17.1



More information about the Spice-devel mailing list