char: move callbacks in CharDriver
commitb68e956abe2ad0a1ecf53868e0bf1a61b418ded8
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 21 Oct 2016 17:49:37 +0000 (21 20:49 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 27 Jan 2017 17:07:58 +0000 (27 18:07 +0100)
tree2d25f219ee74ed5671959e92f9018ccd408cd35a
parenta1698bf183a2fc05ff980e06c798408d5898bc48
char: move callbacks in CharDriver

This makes the code more declarative, and avoids duplicating the
information on all instances.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
backends/baum.c
backends/msmouse.c
backends/testdev.c
gdbstub.c
hw/bt/hci-csr.c
include/sysemu/char.h
qemu-char.c
spice-qemu-char.c
ui/console.c
ui/gtk.c