qemu/hw/char
Anton Blanchard 7770b6f78a pseries: Fix stalls on hypervisor virtual console
A number of users are reporting stalls when using the pseries
hypervisor virtual console.

A simple test case is to paste 15 or 17 characters at a time
into the console. Pasting 15 characters at a time works fine
but pasting 17 characters hangs for a random amount of time.
Other activity (network, qemu monitor etc) unblocks it.

If qemu-char tries to send more than 16 characters at once,
vty_can_receive returns false. At this point we have to
wait for the guest to consume that output. Everything is good
so far.

The problem occurs when the the guest does consume the output.
We need to signal back to the qemu-char layer that we are
ready for more input. Without this we block until something
else kicks us (eg network activity).

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
2013-09-02 10:06:41 +02:00
..
cadence_uart.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
debugcon.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
escc.c escc: QOM cast cleanup 2013-07-29 21:06:27 +02:00
etraxfs_ser.c etraxfs_ser: QOM cast cleanups 2013-07-29 20:45:33 +02:00
exynos4210_uart.c exynos4210_uart: QOM cast cleanup 2013-07-29 21:06:27 +02:00
grlib_apbuart.c grlib_apbuart: QOM cast cleanup 2013-07-29 21:06:27 +02:00
imx_serial.c imx_serial: QOM cast cleanup 2013-07-29 21:06:27 +02:00
ipack.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
ipack.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
ipoctal232.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
lm32_juart.c lm32_juart: QOM cast cleanup 2013-07-29 21:06:28 +02:00
lm32_uart.c lm32_uart: QOM cast cleanup 2013-07-29 21:06:28 +02:00
Makefile.objs hw: move char devices to hw/char/, configure via default-configs/ 2013-04-08 18:13:14 +02:00
mcf_uart.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
milkymist-uart.c milkymist-uart: QOM cast cleanup 2013-07-29 21:06:28 +02:00
omap_uart.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
parallel.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
pl011.c pl011: QOM'ify pl011 and pl011_luminary 2013-07-29 21:06:28 +02:00
sclpconsole.c s390/sclpconsole: handle char layer busy conditions 2013-07-30 16:10:59 +02:00
serial-isa.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
serial-pci.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
serial.c Merge remote-tracking branch 'stefanha/block' into staging 2013-08-26 09:19:50 -05:00
sh_serial.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
spapr_vty.c pseries: Fix stalls on hypervisor virtual console 2013-09-02 10:06:41 +02:00
tpci200.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
virtio-console.c virtio-console: Use exitfn for virtserialport, too 2013-08-01 11:18:32 -05:00
virtio-serial-bus.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
xen_console.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
xilinx_uartlite.c xilinx_uartlite: QOM cast cleanups 2013-07-29 20:45:45 +02:00