• Marc-André Lureau's avatar
    char: remove class kind field · 0b663b7d
    Marc-André Lureau authored
    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: 's avatarMarc-André Lureau <marcandre.lureau@redhat.com>
    Reviewed-by: 's avatarEric Blake <eblake@redhat.com>
    0b663b7d
Name
Last commit
Last update
..
Makefile.objs Loading commit data...
baum.c Loading commit data...
cryptodev-builtin.c Loading commit data...
cryptodev.c Loading commit data...
hostmem-file.c Loading commit data...
hostmem-ram.c Loading commit data...
hostmem.c Loading commit data...
msmouse.c Loading commit data...
rng-egd.c Loading commit data...
rng-random.c Loading commit data...
rng.c Loading commit data...
testdev.c Loading commit data...
tpm.c Loading commit data...