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> Yuri Benditovich (9): usb-redir: define interfaces to support emulated devices usb-redir: device error signal without device object usb-redir: Prepare for creation of emulated CD drive usb-redir: device description for emulated devices 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 src/cd-scsi-dev-params.h | 52 + src/cd-scsi.c | 2770 ++++++++++++++++++++++++++++++++++++++ src/cd-scsi.h | 122 ++ src/cd-usb-bulk-msd.c | 555 ++++++++ src/cd-usb-bulk-msd.h | 134 ++ src/channel-usbredir.c | 29 +- src/meson.build | 7 + src/scsi-constants.h | 324 +++++ src/spice-option.c | 15 + src/usb-backend.c | 715 +++++++++- src/usb-backend.h | 36 +- src/usb-device-cd.c | 794 +++++++++++ src/usb-device-manager.c | 57 +- src/usb-emulation.h | 88 ++ 14 files changed, 5658 insertions(+), 40 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-emulation.h -- 2.17.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel