aboutsummaryrefslogtreecommitdiff
path: root/hw/s390x
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2014-07-24 16:08:04 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2014-07-25 14:36:07 +0200
commit62c339c5272ce8fbe8ca52695cee8ff40da7872e (patch)
tree9dfd84d9511a075a65e2969e286d0bfd7b9e70e4 /hw/s390x
parentf368c33d5ab09dd5656924185cd975b11838cd25 (diff)
qemu-char: ignore flow control if a PTY's slave is not connected
After commit f702e62 (serial: change retry logic to avoid concurrency, 2014-07-11), guest boot hangs if the backend is an unconnected PTY. The reason is that PTYs do not support G_IO_HUP, and serial_xmit is never called. To fix this, simply invoke serial_xmit immediately (via g_idle_source_new) when this happens. Tested-by: Pavel Hrdina <phrdina@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/s390x')
0 files changed, 0 insertions, 0 deletions