[Spice-devel] [PATCH 2/2] Add controller messages for USB redirection

Christophe Fergeau cfergeau at redhat.com
Tue Apr 3 01:32:15 PDT 2012


This adds 3 new controller messages:

CONTROLLER_ENABLE_USB (ControllerValue, boolean)
CONTROLLER_ENABLE_USB_AUTOSHARE (ControllerValue, boolean)
CONTROLLER_USB_FILTER (ControllerData, string)

This fixes rhbz #807295
---
 spice/controller_prot.h |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/spice/controller_prot.h b/spice/controller_prot.h
index 355feac..facf241 100644
--- a/spice/controller_prot.h
+++ b/spice/controller_prot.h
@@ -78,6 +78,10 @@ enum {
     CONTROLLER_COLOR_DEPTH,
     CONTROLLER_DISABLE_EFFECTS,
 
+    CONTROLLER_ENABLE_USB,
+    CONTROLLER_ENABLE_USB_AUTOSHARE,
+    CONTROLLER_USB_FILTER,
+
     //spice client -> external app
     CONTROLLER_MENU_ITEM_CLICK = 1001,
 };
-- 
1.7.9.3



More information about the Spice-devel mailing list