]> git.ipfire.org Git - thirdparty/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)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 3 Dec 2013 03:17:50 +0000 (21:17 -0600)
commit205cff77af9debf395610fbef34874d5e6f80cd2
tree322d86556fd55fc57a09e707f8cb8d4241d1b2b3
parent62ecc3a0e3c77a4944c92a02dd7fae2ab1f2290d
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>
(cherry picked from commit 7ba9addc165b37b764baa08c02518b15b2361707)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
include/sysemu/char.h
qemu-char.c