summary refs log tree commit diff stats
path: root/scripts/qapi-visit.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-02-12 16:05:10 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2016-02-16 09:27:59 +0100
commit837a183f00cfd320fae33bb8d04d440341faa3b1 (patch)
tree9edada06b4b29f90242037e29828b60315cc0296 /scripts/qapi-visit.py
parent8800cf0a336147478dff6f2b0a47d8285b828f6d (diff)
downloadfocaccia-qemu-837a183f00cfd320fae33bb8d04d440341faa3b1.tar.gz
focaccia-qemu-837a183f00cfd320fae33bb8d04d440341faa3b1.zip
Revert "qemu-char: Keep pty slave file descriptor open until the master is closed"
This reverts commit 34689e206abddac87a5217d458534e24f2a05562.

Marc-André Lureau provided the following commentary: "It looks like if
a the slave is opened, then Linux will buffer the master writes, up to
a few kb and then throttle, so it's not entirely blocked but eventually
the guest VM dies.  However, not having any slave open it will simply let
the write go and discard the data.  At least, virt-install configures
a pty for the serial but viewers like virt-manager do not necessarily
open it.  And, if there are no viewers, it will just hang.  If qemu
starts reading all the data from the slave, I don't think interactions
with other slaves will work. I don't see much options but to close the
slave, thus reverting this patch."

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qapi-visit.py')
0 files changed, 0 insertions, 0 deletions