summary refs log tree commit diff stats
path: root/hw/ssi/imx_spi.c
diff options
context:
space:
mode:
authorIris Johnson <iris@modwiz.com>2021-01-30 18:40:17 +0000
committerPeter Maydell <peter.maydell@linaro.org>2021-02-02 17:00:54 +0000
commitf2c0fb93a44972a96f93510311c93ff4c2c6fab5 (patch)
tree5f935e7f6a0ea80500ab9c0671686a25da9db9ff /hw/ssi/imx_spi.c
parent40b4c2ae90e4f864a1015ff748a4af00518ff0c0 (diff)
downloadfocaccia-qemu-f2c0fb93a44972a96f93510311c93ff4c2c6fab5.tar.gz
focaccia-qemu-f2c0fb93a44972a96f93510311c93ff4c2c6fab5.zip
hw/char/exynos4210_uart: Fix missing call to report ready for input
When the frontend device has no space for a read the fd is removed
from polling to allow time for the guest to read and clear the buffer.
Without the call to qemu_chr_fe_accept_input(), the poll will not be
broken out of when the guest has cleared the buffer causing significant
IO delays that get worse with smaller buffers.

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