[Spice-devel] [PATCH spice-gtk 1/2] channel-main: Use CHANNEL_DEBUG for migration events
Pavel Grunt
pgrunt at redhat.com
Fri Apr 22 14:47:47 UTC 2016
To show which channel got an error or an unhandled event
---
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
More information about the Spice-devel
mailing list