[Spice-devel] [PATCH spice-server 15/28] server/red_worker: enable latency monitoring in the display channel

Yonit Halperin yhalperi at redhat.com
Tue Feb 26 10:04:01 PST 2013


---
 server/red_worker.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/server/red_worker.c b/server/red_worker.c
index 82f2fc9..5043c10 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -10116,6 +10116,7 @@ static CommonChannelClient *common_channel_client_create(int size,
                                                          RedClient *client,
                                                          RedsStream *stream,
                                                          int mig_target,
+                                                         int monitor_latency,
                                                          uint32_t *common_caps,
                                                          int num_common_caps,
                                                          uint32_t *caps,
@@ -10123,7 +10124,7 @@ static CommonChannelClient *common_channel_client_create(int size,
 {
     MainChannelClient *mcc = red_client_get_main(client);
     RedChannelClient *rcc =
-        red_channel_client_create(size, &common->base, client, stream, FALSE,
+        red_channel_client_create(size, &common->base, client, stream, monitor_latency,
                                   num_common_caps, common_caps, num_caps, caps);
     if (!rcc) {
         return NULL;
@@ -10151,6 +10152,7 @@ DisplayChannelClient *display_channel_client_create(CommonChannel *common,
         (DisplayChannelClient*)common_channel_client_create(
             sizeof(DisplayChannelClient), common, client, stream,
             mig_target,
+            TRUE,
             common_caps, num_common_caps,
             caps, num_caps);
 
@@ -10172,6 +10174,7 @@ CursorChannelClient *cursor_channel_create_rcc(CommonChannel *common,
         (CursorChannelClient*)common_channel_client_create(
             sizeof(CursorChannelClient), common, client, stream,
             mig_target,
+            FALSE,
             common_caps,
             num_common_caps,
             caps,
-- 
1.8.1



More information about the Spice-devel mailing list