Skip to content
Commit 205cff77 authored by Amit Shah's avatar Amit Shah Committed by Michael Roth
Browse files

char: move backends' io watch tag to CharDriverState



All the backends implement an io watcher tag for callbacks.  Move it to
CharDriverState from each backend's struct to make accessing the tag from
backend-neutral functions easier.

This will be used later to cancel a callback on chardev detach from a
frontend.

CC: <qemu-stable@nongnu.org>
Reviewed-by: default avatarGerd Hoffmann <kraxel@redhat.com>
Signed-off-by: default avatarAmit Shah <amit.shah@redhat.com>
(cherry picked from commit 7ba9addc)

Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent 62ecc3a0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment