diff options
author | Anton Blanchard <anton@samba.org> | 2013-08-13 14:10:04 +1000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-09-02 10:06:41 +0200 |
commit | 7770b6f78a2d655e03852a5de238f5926c92be6a (patch) | |
tree | 83dfc0b0e9cc941dcbf0b5a5b11e9dad30413123 /target-ppc/cpu.h | |
parent | 28290f37e20cda27574f15be9e9499493e3d0fe8 (diff) |
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>
Diffstat (limited to 'target-ppc/cpu.h')
0 files changed, 0 insertions, 0 deletions