[PATCH 11/15] Change reds_reset_vdp() to take RedsState arg

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

 



From: Jonathon Jongsma <jjongsma@xxxxxxxxxx>

---
 server/reds.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/reds.c b/server/reds.c
index b8129fb..32164f7 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -430,7 +430,7 @@ static void reds_mig_cleanup(RedsState *reds)
     }
 }
 
-static void reds_reset_vdp(void)
+static void reds_reset_vdp(RedsState *reds)
 {
     VDIPortState *state = &reds->agent_state;
     SpiceCharDeviceInterface *sif;
@@ -640,7 +640,7 @@ static void reds_agent_remove(RedsState *reds)
 {
     // TODO: agent is broken with multiple clients. also need to figure out what to do when
     // part of the clients are during target migration.
-    reds_reset_vdp();
+    reds_reset_vdp(reds);
 
     vdagent = NULL;
     reds_update_mouse_mode(reds);
-- 
2.4.3

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




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