]> git.proxmox.com Git - qemu.git/commit
char: move backends' io watch tag to CharDriverState
authorAmit Shah <amit.shah@redhat.com>
Wed, 28 Aug 2013 09:48:29 +0000 (15:18 +0530)
committerAmit Shah <amit.shah@redhat.com>
Thu, 5 Sep 2013 13:00:31 +0000 (18:30 +0530)
commit7ba9addc165b37b764baa08c02518b15b2361707
treeadee9f485c2722188052016324ed4951ada5c949
parentaaa6a40194e9f204cb853f64ef3c1e170bb014e8
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: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
include/sysemu/char.h
qemu-char.c