summary refs log tree commit diff stats
path: root/qobject/json-parser.c
diff options
context:
space:
mode:
authorIris Johnson <iris@modwiz.com>2021-01-28 03:36:55 +0000
committerPeter Maydell <peter.maydell@linaro.org>2021-02-02 17:00:54 +0000
commit40b4c2ae90e4f864a1015ff748a4af00518ff0c0 (patch)
tree38058eb2716742a10eef600c58b017858c7b666a /qobject/json-parser.c
parent09bbdb89bc25660044c946137ec7ccb0d1fcee32 (diff)
downloadfocaccia-qemu-40b4c2ae90e4f864a1015ff748a4af00518ff0c0.tar.gz
focaccia-qemu-40b4c2ae90e4f864a1015ff748a4af00518ff0c0.zip
hw/char/exynos4210_uart: Fix buffer size reporting with FIFO disabled
Currently the Exynos 4210 UART code always reports available FIFO space
when the backend checks for buffer space. When the FIFO is disabled this
is behavior causes the backend chardev code to replace the data before the
guest can read it.

This patch changes adds the logic to report the capacity properly when the
FIFO is not being used.

Buglink: https://bugs.launchpad.net/qemu/+bug/1913344
Signed-off-by: Iris Johnson <iris@modwiz.com>
Message-id: 20210128033655.1029577-1-iris@modwiz.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'qobject/json-parser.c')
0 files changed, 0 insertions, 0 deletions