[PATCH v7 12/20] usb-redir: enable redirection of emulated CD drive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Yuri Benditovich <yuri.benditovich@xxxxxxxxxx>

Add implementation of emulated device to build.
Now it is possible to create emulated CD devices.

Signed-off-by: Yuri Benditovich <yuri.benditovich@xxxxxxxxxx>
---
 src/meson.build | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/src/meson.build b/src/meson.build
index 4d9215c..00eb277 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -157,6 +157,18 @@ elif spice_gtk_coroutine == 'winfiber'
   spice_client_glib_sources += 'coroutine_winfibers.c'
 endif
 
+if spice_gtk_has_usbredir
+  spice_client_glib_sources += [
+    'usb-device-cd.c',
+    'usb-device-cd.h',
+    'cd-scsi.c',
+    'cd-scsi.h',
+    'cd-scsi-dev-params.h',
+    'cd-usb-bulk-msd.c',
+    'cd-usb-bulk-msd.h',
+  ]
+endif
+
 if spice_gtk_has_usbredir and host_machine.system() == 'windows'
   spice_client_glib_sources += ['usbdk_api.c',
                                 'usbdk_api.h']
-- 
2.21.0

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]