mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-28 20:41:52 -06:00
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>
This commit is contained in:
parent
9e92f6d462
commit
f5b7957878
1 changed files with 1 additions and 0 deletions
|
@ -618,6 +618,7 @@ static gboolean channel_event_cb(GIOCondition condition, gpointer data)
|
||||||
if (!s->virtio) {
|
if (!s->virtio) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
/* fall through */
|
||||||
case G_IO_STATUS_AGAIN:
|
case G_IO_STATUS_AGAIN:
|
||||||
/* virtio causes us to spin here when no process is attached to
|
/* virtio causes us to spin here when no process is attached to
|
||||||
* host-side chardev. sleep a bit to mitigate this
|
* host-side chardev. sleep a bit to mitigate this
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue