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

Alon Levy alevy at redhat.com
Sun Apr 14 06:29:32 PDT 2013


On Tue, Feb 26, 2013 at 01:04:01PM -0500, Yonit Halperin wrote:

ACK

> ---
>  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
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel


More information about the Spice-devel mailing list