[Spice-devel] Fwd: [PATCH 3/3] server: retry mouse send on queue full - required after previous race fix

Alon Levy alevy at redhat.com
Wed Aug 25 03:28:13 PDT 2010


----- Forwarded Message -----
From: "Alon Levy" <alevy at redhat.com>
To: alevy at redhat.com
Sent: Sunday, August 22, 2010 10:21:02 PM (GMT+0200) Auto-Detected
Subject: [PATCH 3/3] server: retry mouse send on queue full - required after previous race fix

---
 server/reds.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/server/reds.c b/server/reds.c
index 5820cd5..571013f 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -1325,6 +1325,7 @@ static void reds_handle_agent_mouse_event()
     }
     if (reds->mig_target || !(ring_item = ring_get_head(&reds->agent_state.internal_bufs))) {
         reds->inputs_state->pending_mouse_event = TRUE;
+        vdi_port_write_timer_start();
         return;
     }
     reds->inputs_state->pending_mouse_event = FALSE;
-- 
1.7.1



More information about the Spice-devel mailing list