/* Callback function that's called from chardevs when backend becomes writable.  */
static gboolean chr_write_unblocked(GIOChannel *chan, GIOCondition cond, void *opaque)
/* Callback function that's called from chardevs when backend becomes writable.  */
static gboolean chr_write_unblocked(GIOChannel *chan, GIOCondition cond, void *opaque)
{
    VirtConsole *vcon = opaque;
    vcon->watch = 0;
    virtio_serial_throttle_port(VIRTIO_SERIAL_PORT(vcon), false);
    return FALSE;
}