[Spice-devel] [PATCH 08/14] server: group worker channel related stuff

Frediano Ziglio fziglio at redhat.com
Fri Oct 23 05:13:32 PDT 2015


From: Marc-André Lureau <marcandre.lureau at gmail.com>

---
 server/red_worker.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/server/red_worker.c b/server/red_worker.c
index d14a481..02856a9 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -589,8 +589,6 @@ typedef struct ItemTrace {
 typedef struct RedWorker {
     pthread_t thread;
     clockid_t clockid;
-    DisplayChannel *display_channel;
-    CursorChannel *cursor_channel;
     QXLInstance *qxl;
     RedDispatcher *red_dispatcher;
 
@@ -599,8 +597,13 @@ typedef struct RedWorker {
     struct pollfd poll_fds[MAX_EVENT_SOURCES];
     struct SpiceWatch watches[MAX_EVENT_SOURCES];
     unsigned int event_timeout;
+
+    DisplayChannel *display_channel;
     uint32_t repoll_cmd_ring;
+
+    CursorChannel *cursor_channel;
     uint32_t repoll_cursor_ring;
+
     uint32_t num_renderers;
     uint32_t renderers[RED_RENDERER_LAST];
     uint32_t renderer;
-- 
2.4.3



More information about the Spice-devel mailing list