qemu-patch-raspberry4/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 memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
milkymist-uart.c hw/c*: pass owner to memory_region_init* functions 2013-07-04 17:42:47 +02:00
omap_uart.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
parallel.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
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 memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
sh_serial.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
spapr_vty.c pseries: Convert VIO code to QOM style type safe(ish) casts 2013-04-26 23:02:41 +02:00
tpci200.c hw/c*: pass owner to memory_region_init* functions 2013-07-04 17:42:47 +02:00
virtio-console.c virtio-console: Remove any pending watches on close 2013-04-16 11:52:09 +02:00
virtio-serial-bus.c virtio-serial: fix command line compatibility. 2013-05-03 12:05:15 -05:00
xen_console.c
xilinx_uartlite.c hw/c*: pass owner to memory_region_init* functions 2013-07-04 17:42:47 +02:00