]> git.proxmox.com Git - mirror_qemu.git/commit - backends/rng-egd.c
char: make chr_fe_deinit() optionaly delete backend
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 26 Jan 2017 20:49:13 +0000 (00:49 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 2 Jun 2017 07:33:53 +0000 (11:33 +0400)
commit1ce2610c106d925387669b3133fc18ea986f0476
treebd08c41941ea2235cabde4c02739f6ca52ff07d7
parenta9b1ca38c2b1f062f22d4847e3b4c848d0fb84c3
char: make chr_fe_deinit() optionaly delete backend

This simplifies removing a backend for a frontend user (no need to
retrieve the associated driver and separate delete call etc).

NB: many frontends have questionable handling of ending a chardev. They
should probably delete the backend to prevent broken reusage.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
16 files changed:
backends/rng-egd.c
chardev/char-fe.c
chardev/char-mux.c
gdbstub.c
hw/char/serial.c
hw/char/xen_console.c
hw/core/qdev-properties-system.c
hw/usb/ccid-card-passthru.c
hw/usb/redirect.c
include/chardev/char-fe.h
monitor.c
net/colo-compare.c
net/filter-mirror.c
net/vhost-user.c
tests/test-char.c
tests/vhost-user-test.c