[Spice-devel] [PATCH] fix for not reseting client palette caches on migration

Yonit Halperin yhalperi at redhat.com
Wed Jun 9 03:21:57 PDT 2010


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

diff --git a/server/red_worker.c b/server/red_worker.c
index efdfebc..89c4a26 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -9978,6 +9978,8 @@ static int display_channel_handle_migrate_data(DisplayChannel *channel, SpiceDat
         PANIC("restoring global lz dictionary failed");
     }
 
+    red_pipe_add_type((RedChannel *)channel, PIPE_ITEM_TYPE_INVAL_PALLET_CACHE);
+
     channel->base.messages_window = 0;
     return TRUE;
 }
-- 
1.6.6.1



More information about the Spice-devel mailing list