diff options
author | Markus Armbruster <armbru@redhat.com> | 2013-01-11 11:24:57 +0100 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2013-01-14 12:00:40 -0600 |
commit | f5b795787864ddde1104a4f7c061dcb0e58e45c0 (patch) | |
tree | 26f494838a3a11de75b925fcc22ffb6092fba5ec /qga/main.c | |
parent | 9e92f6d46233171898fc7d0487a04e5b78e44234 (diff) | |
download | qemu-f5b795787864ddde1104a4f7c061dcb0e58e45c0.tar.gz qemu-f5b795787864ddde1104a4f7c061dcb0e58e45c0.tar.bz2 qemu-f5b795787864ddde1104a4f7c061dcb0e58e45c0.zip |
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>
Diffstat (limited to 'qga/main.c')
-rw-r--r-- | qga/main.c | 1 |
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 |