qemu-e2k/hw/char
Peng Hao 98fab4c163 chardev: fix parallel device can't be reconnect
Parallel device don't register be->chr_can_read function, but remote
disconnect event is handled in chr_read.So connected parallel device
can not detect remote disconnect event. The chardevs with chr_can_read=NULL
has the same problem.

Signed-off-by: Peng Hao <peng.hao2@zte.com.cn>
Reviewed-by: Wang Yechao <wang.yechao255@zte.com.cn>
Reviewed-by: Jiang Biao <jiang.biao2@zte.com.cn>
Message-Id: <1499874119-67558-1-git-send-email-peng.hao2@zte.com.cn>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-07-14 12:04:41 +02:00
..
Makefile.objs s390x/3270: Mark non-migratable and enable the device 2017-05-04 10:34:37 +02:00
bcm2835_aux.c char: add backend hotswap handler 2017-07-14 11:04:33 +02:00
cadence_uart.c char: avoid chardevice direct access 2017-07-14 11:04:33 +02:00
debugcon.c char: avoid chardevice direct access 2017-07-14 11:04:33 +02:00
digic-uart.c char: add backend hotswap handler 2017-07-14 11:04:33 +02:00
escc.c char: avoid chardevice direct access 2017-07-14 11:04:33 +02:00
etraxfs_ser.c char: add backend hotswap handler 2017-07-14 11:04:33 +02:00
exynos4210_uart.c char: avoid chardevice direct access 2017-07-14 11:04:33 +02:00
grlib_apbuart.c char: avoid chardevice direct access 2017-07-14 11:04:33 +02:00
imx_serial.c char: add backend hotswap handler 2017-07-14 11:04:33 +02:00
ipoctal232.c char: avoid chardevice direct access 2017-07-14 11:04:33 +02:00
lm32_juart.c char: add backend hotswap handler 2017-07-14 11:04:33 +02:00
lm32_uart.c char: add backend hotswap handler 2017-07-14 11:04:33 +02:00
mcf_uart.c char: add backend hotswap handler 2017-07-14 11:04:33 +02:00
milkymist-uart.c char: add backend hotswap handler 2017-07-14 11:04:33 +02:00
omap_uart.c chardev: move headers to include/chardev 2017-06-02 11:33:52 +04:00
parallel.c chardev: fix parallel device can't be reconnect 2017-07-14 12:04:41 +02:00
pl011.c char: add backend hotswap handler 2017-07-14 11:04:33 +02:00
sclpconsole-lm.c char: avoid chardevice direct access 2017-07-14 11:04:33 +02:00
sclpconsole.c char: avoid chardevice direct access 2017-07-14 11:04:33 +02:00
serial-isa.c char: rename CharDriverState Chardev 2017-01-27 18:07:59 +01:00
serial-pci.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
serial.c serial: chardev hotswap support 2017-07-14 11:04:34 +02:00
sh_serial.c char: avoid chardevice direct access 2017-07-14 11:04:33 +02:00
spapr_vty.c char: avoid chardevice direct access 2017-07-14 11:04:33 +02:00
stm32f2xx_usart.c char: add backend hotswap handler 2017-07-14 11:04:33 +02:00
terminal3270.c char: avoid chardevice direct access 2017-07-14 11:04:33 +02:00
trace-events hw/char/pl011: Add trace events 2016-10-17 19:32:44 +01:00
virtio-console.c virtio-console: chardev hotswap support 2017-07-14 11:04:34 +02:00
virtio-serial-bus.c virtio-serial: fix segfault on disconnect 2017-06-02 18:57:17 +03:00
xen_console.c char: avoid chardevice direct access 2017-07-14 11:04:33 +02:00
xilinx_uartlite.c char: add backend hotswap handler 2017-07-14 11:04:33 +02:00