qemu-patch-raspberry4/backends
Paolo Bonzini 4ca172817a qemu-char: add create to register_char_driver
Having creation as a member of the CharDriver struct removes the need
to export functions for qemu-char.c's usage.  After the conversion,
chardev backends implemented outside qemu-char.c will not need a stub
creation function anymore.

Ultimately all drivers will be converted.  For now, support the case
where cd->create == NULL.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-10-14 17:55:26 +02:00
..
baum.c qemu-char: add create to register_char_driver 2015-10-14 17:55:26 +02:00
hostmem-file.c maint: avoid useless "if (foo) free(foo)" pattern 2015-09-11 10:21:38 +03:00
hostmem-ram.c hostmem-ram: don't exit qemu if size of memory-backend-ram is way too big 2014-09-09 13:41:44 +02:00
hostmem.c hostmem: Fix qemu_opt_get_bool() crash in host_memory_backend_init() 2015-07-22 15:09:25 -03:00
Makefile.objs backends: Introduce chr-testdev 2014-08-06 17:53:05 +02:00
msmouse.c qemu-char: add create to register_char_driver 2015-10-14 17:55:26 +02:00
rng-egd.c qerror: Clean up QERR_ macros to expand into a single string 2015-06-22 18:20:40 +02:00
rng-random.c qerror: Clean up QERR_ macros to expand into a single string 2015-06-22 18:20:40 +02:00
rng.c qerror: Clean up QERR_ macros to expand into a single string 2015-06-22 18:20:40 +02:00
testdev.c qemu-char: add create to register_char_driver 2015-10-14 17:55:26 +02:00
tpm.c qerror: Clean up QERR_ macros to expand into a single string 2015-06-22 18:20:40 +02:00