commit | 26da70c72524eb22c946ab19ec98a217b8252f7e | [log] [tgz] |
---|---|---|
author | Amit Shah <amit.shah@redhat.com> | Wed Aug 28 15:23:37 2013 +0530 |
committer | Amit Shah <amit.shah@redhat.com> | Thu Sep 05 18:30:31 2013 +0530 |
tree | d7a30f5d87ad0eaf815520c8219de5c54d04b9fb | |
parent | 7ba9addc165b37b764baa08c02518b15b2361707 [diff] |
char: use common function to disable callbacks on chardev close This deduplicates code used a lot of times. CC: <qemu-stable@nongnu.org> Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Amit Shah <amit.shah@redhat.com>