qemu/hw/char
Peter Crosthwaite 9121d02cb3 char/cadence_uart: Fix reset for unattached instances
commit 1db8b5efe0 introduced an issue
where QEMU would segfault if you have an unattached Cadence UART.

Fix by guarding the flush-on-reset logic on there being a qemu_chr
attachment.

Reported-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Tested-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Message-id: 9009578ee10a50d994b2e10aa2840d73765f5968.1370577272.git.peter.crosthwaite@xilinx.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2013-07-15 12:28:07 +01:00
..
cadence_uart.c char/cadence_uart: Fix reset for unattached instances 2013-07-15 12:28:07 +01:00
debugcon.c hw/c*: pass owner to memory_region_init* functions 2013-07-04 17:42:47 +02:00
escc.c hw/c*: pass owner to memory_region_init* functions 2013-07-04 17:42:47 +02:00
etraxfs_ser.c hw/c*: pass owner to memory_region_init* functions 2013-07-04 17:42:47 +02:00
exynos4210_uart.c hw/c*: pass owner to memory_region_init* functions 2013-07-04 17:42:47 +02:00
grlib_apbuart.c hw/c*: pass owner to memory_region_init* functions 2013-07-04 17:42:47 +02:00
imx_serial.c hw/c*: pass owner to memory_region_init* functions 2013-07-04 17:42:47 +02:00
ipack.c
ipack.h
ipoctal232.c
lm32_juart.c
lm32_uart.c hw/c*: pass owner to memory_region_init* functions 2013-07-04 17:42:47 +02:00
Makefile.objs
mcf_uart.c
milkymist-uart.c hw/c*: pass owner to memory_region_init* functions 2013-07-04 17:42:47 +02:00
omap_uart.c
parallel.c
pl011.c hw/c*: pass owner to memory_region_init* functions 2013-07-04 17:42:47 +02:00
sclpconsole.c
serial-isa.c hw/c*: pass owner to memory_region_init* functions 2013-07-04 17:42:47 +02:00
serial-pci.c hw/c*: pass owner to memory_region_init* functions 2013-07-04 17:42:47 +02:00
serial.c
sh_serial.c
spapr_vty.c
tpci200.c hw/c*: pass owner to memory_region_init* functions 2013-07-04 17:42:47 +02:00
virtio-console.c
virtio-serial-bus.c
xen_console.c
xilinx_uartlite.c hw/c*: pass owner to memory_region_init* functions 2013-07-04 17:42:47 +02:00