From: Victor Toso <me@xxxxxxxxxxxxxx> Hi, CI: https://gitlab.freedesktop.org/victortoso/spice-gtk/tree/cd-rom-split-v8 v7->v8 (review by Frediano): * squashed v7 10/20 into v7 09/20 (an acked fixup) * Added missing patch, now v8 10/20 * add proper sign-offs to v7 04,07,08/20 * fixed some typos in commit log Tested now mostly with Fedora. Waiting Yuri's feedback. Cheers, Victor Frediano Ziglio (9): usb-backend: add safe check on attach() cd-scsi: Do not export sense code constants build: Do not build usbredir dependent file if usbredir is disabled test-cd-emu: Add base test for cd-emulation 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 Victor Toso (1): usb-backend: add guard and doc to check_filter() Yuri Benditovich (10): 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-backend: no emulated isoch devices usb-backend: include usbredirparser 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 | 771 ++++++++++- src/usb-backend.h | 8 +- 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, 5955 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.21.0 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel