aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2013-01-11 11:24:57 +0100
committerMichael Roth <mdroth@linux.vnet.ibm.com>2013-01-14 12:00:40 -0600
commitf5b795787864ddde1104a4f7c061dcb0e58e45c0 (patch)
tree26f494838a3a11de75b925fcc22ffb6092fba5ec
parent9e92f6d46233171898fc7d0487a04e5b78e44234 (diff)
qemu-ga: Document intentional fall through in channel_event_cb()
For clarity, and to hush up Coverity. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com> Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
-rw-r--r--qga/main.c1
1 files changed, 1 insertions, 0 deletions
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