Changes since v5: - rebased on master. Frediano Ziglio (10): fixup! usb-redir: add files for SCSI and USB MSC implementation cd-scsi: Do not export sense code constants build: Do not build usbredir dependent file is usbredir disabled test-cd-emu: Add base test for cd-emulation usb-backend: Rewrite USB emulation support build: Use a convenience library for tests test-cd-emu: Test attach/detach emulated device test-cd-emu: Test detach and reattach test-cd-emu: Make sure we can call spice_usb_backend_channel_flush_writes test-cd-emu: Test no libusb context support 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 | 46 + src/cd-scsi.c | 2742 ++++++++++++++++++++++++++++++++++++++ src/cd-scsi.h | 117 ++ src/cd-usb-bulk-msd.c | 543 ++++++++ src/cd-usb-bulk-msd.h | 131 ++ src/channel-usbredir.c | 31 +- src/meson.build | 21 +- src/scsi-constants.h | 321 +++++ src/spice-option.c | 17 + src/usb-backend.c | 772 ++++++++++- src/usb-backend.h | 4 + src/usb-device-cd.c | 784 +++++++++++ src/usb-device-cd.h | 34 + src/usb-device-manager.c | 63 +- src/usb-emulation.h | 88 ++ src/usbutil.c | 3 - src/usbutil.h | 4 - tests/cd-emu.c | 320 +++++ tests/meson.build | 12 +- 19 files changed, 5952 insertions(+), 101 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 create mode 100644 tests/cd-emu.c -- 2.20.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel