commit | 7ba9addc165b37b764baa08c02518b15b2361707 | [log] [tgz] |
---|---|---|
author | Amit Shah <amit.shah@redhat.com> | Wed Aug 28 15:18:29 2013 +0530 |
committer | Amit Shah <amit.shah@redhat.com> | Thu Sep 05 18:30:31 2013 +0530 |
tree | adee9f485c2722188052016324ed4951ada5c949 | |
parent | aaa6a40194e9f204cb853f64ef3c1e170bb014e8 [diff] |
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>