[Spice-devel] [PATCH spice-gtk 1/2] channel-main: Use CHANNEL_DEBUG for migration events

Victor Toso lists at victortoso.com
Tue Apr 26 09:53:47 UTC 2016


On Fri, Apr 22, 2016 at 04:47:47PM +0200, Pavel Grunt wrote:
> To show which channel got an error or an unhandled event

Acked-by: Victor Toso <victortoso at redhat.com>

> ---
>  src/channel-main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/channel-main.c b/src/channel-main.c
> index 604f333..3966e49 100644
> --- a/src/channel-main.c
> +++ b/src/channel-main.c
> @@ -2286,7 +2286,7 @@ static void migrate_channel_event_cb(SpiceChannel *channel, SpiceChannelEvent ev
>              coroutine_yieldto(mig->from, NULL);
>          break;
>      default:
> -        SPICE_DEBUG("error or unhandled channel event during migration: %d", event);
> +        CHANNEL_DEBUG(channel, "error or unhandled channel event during migration: %d", event);
>          /* go back to main channel to report error */
>          coroutine_yieldto(mig->from, NULL);
>      }
> -- 
> 2.8.1
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel


More information about the Spice-devel mailing list