qemu-e2k/include/sysemu
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
..
accel.h
arch_init.h nios2: Add support for Nios-II R1 2017-01-24 13:10:36 -08:00
balloon.h
block-backend.h
blockdev.h
bt.h
char.h char: remove class kind field 2017-01-31 13:03:42 +04:00
cpus.h
cryptodev.h cryptodev: wrap the ready flag 2017-01-10 07:02:52 +02:00
device_tree.h
dma.h dma-helpers: explicitly pass alignment into DMA helpers 2016-10-27 16:29:13 -04:00
dump-arch.h
dump.h
hax.h target/i386: Add Intel HAX files 2017-01-19 22:07:46 +01:00
hostmem.h monitor: fix qmp/hmp query-memdev not reporting IDs of memory backends 2017-01-12 15:35:06 -02:00
hw_accel.h Plumb the HAXM-based hardware acceleration support 2017-01-19 22:07:46 +01:00
iothread.h iothread: add poll-grow and poll-shrink parameters 2017-01-03 16:38:50 +00:00
kvm_int.h
kvm.h kvm: move cpu synchronization code 2017-01-19 22:07:46 +01:00
memory_mapping.h
numa.h numa: make -numa parser dynamically allocate CPUs masks 2017-01-12 15:51:36 -02:00
os-posix.h log: Add locking to large logging blocks 2016-11-01 10:29:03 -06:00
os-win32.h log: Add locking to large logging blocks 2016-11-01 10:29:03 -06:00
qtest.h
replay.h char: rename CharDriverState Chardev 2017-01-27 18:07:59 +01:00
reset.h hw: move reset handlers from vl.c to hw/core 2017-01-16 17:52:35 +01:00
rng-random.h
rng.h
seccomp.h
sysemu.h char: rename CharDriverState Chardev 2017-01-27 18:07:59 +01:00
tpm_backend_int.h
tpm_backend.h
tpm.h
watchdog.h
xen-mapcache.h