Re: [PATCH] spicevmc_device_connect: get parser for appropriate channel_type

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

 



Ack

Pavel

On Thu, 2016-07-14 at 18:45 +0300, Uri Lublin wrote:
> spicevmc_device_connect() is called for non-usb types too.
> ---
>  server/spicevmc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/server/spicevmc.c b/server/spicevmc.c
> index 0eda776..953d193 100644
> --- a/server/spicevmc.c
> +++ b/server/spicevmc.c
> @@ -617,7 +617,7 @@ RedCharDevice *spicevmc_device_connect(RedsState *reds,
>      state = (SpiceVmcState*)red_channel_create_parser(sizeof(SpiceVmcState),
> reds,
>                                     reds_get_core_interface(reds),
> channel_type, id[channel_type]++,
>                                     FALSE /* handle_acks */,
> -                                   spice_get_client_channel_parser(SPICE_CHAN
> NEL_USBREDIR, NULL),
> +                                   spice_get_client_channel_parser(channel_ty
> pe, NULL),
>                                     spicevmc_red_channel_client_handle_message
> _parsed,
>                                     &channel_cbs,
>                                     SPICE_MIGRATE_NEED_FLUSH |
> SPICE_MIGRATE_NEED_DATA_TRANSFER);
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://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]