qemu-e2k/backends
Marc-André Lureau 0b663b7d77 char: remove class kind field
The class kind is necessary to lookup the chardev name in
qmp_chardev_add() after calling qemu_chr_new_from_opts() and to set
the appropriate ChardevBackend (mainly to free the right
fields).

qemu_chr_new_from_opts() can be changed to use a non-qmp function
using the chardev class typename. Introduce qemu_chardev_add() to be
called from qemu_chr_new_from_opts() and remove the class chardev kind
field. Set the backend->type in the parse callback (when non-common
fields are added).

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2017-01-31 13:03:42 +04:00
..
baum.c char: remove class kind field 2017-01-31 13:03:42 +04:00
cryptodev-builtin.c cryptodev: wrap the ready flag 2017-01-10 07:02:52 +02:00
cryptodev.c cryptodev: wrap the ready flag 2017-01-10 07:02:52 +02:00
hostmem-file.c
hostmem-ram.c
hostmem.c monitor: fix qmp/hmp query-memdev not reporting IDs of memory backends 2017-01-12 15:35:06 -02:00
Makefile.objs
msmouse.c char: remove class kind field 2017-01-31 13:03:42 +04:00
rng-egd.c char: rename CharDriverState Chardev 2017-01-27 18:07:59 +01:00
rng-random.c
rng.c
testdev.c char: remove class kind field 2017-01-31 13:03:42 +04:00
tpm.c