]> git.proxmox.com Git - mirror_qemu.git/commit - spice-qemu-char.c
char: get rid of CharDriver
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 8 Dec 2016 21:50:12 +0000 (00:50 +0300)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 31 Jan 2017 09:01:47 +0000 (13:01 +0400)
commit88cace9f119b85ac2d40a8b10c24e05ccfa6da07
tree9aa623eb65581a78d3c1d910f2a787990260c1eb
parent8cddc46990ab0310af9fb148143326f832802fca
char: get rid of CharDriver

qemu_chr_new_from_opts() is modified to not need CharDriver backend[]
array, but uses instead objectified qmp_query_chardev_backends() and
char_get_class(). The alias field is moved outside in a ChardevAlias[],
similar to QDevAlias for devices.

"kind" and "parse" are moved to ChardevClass ("kind" is to be removed
next)

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