From f5b795787864ddde1104a4f7c061dcb0e58e45c0 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Fri, 11 Jan 2013 11:24:57 +0100 Subject: qemu-ga: Document intentional fall through in channel_event_cb() For clarity, and to hush up Coverity. Signed-off-by: Markus Armbruster Reviewed-by: Eric Blake Reviewed-by: Michael Roth Reviewed-by: Luiz Capitulino Signed-off-by: Michael Roth --- qga/main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'qga/main.c') diff --git a/qga/main.c b/qga/main.c index bd70ead126..e8a9a9ee7e 100644 --- a/qga/main.c +++ b/qga/main.c @@ -618,6 +618,7 @@ static gboolean channel_event_cb(GIOCondition condition, gpointer data) if (!s->virtio) { return false; } + /* fall through */ case G_IO_STATUS_AGAIN: /* virtio causes us to spin here when no process is attached to * host-side chardev. sleep a bit to mitigate this -- cgit v1.2.1