qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 1/1] Do not hang on full PTY
@ 2014-12-22 15:04 Don Slutz
  2014-12-29  9:59 ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev
  2015-01-12  8:56 ` [Qemu-devel] " Michael Tokarev
  0 siblings, 2 replies; 7+ messages in thread
From: Don Slutz @ 2014-12-22 15:04 UTC (permalink / raw)
  To: qemu-devel, QEMU Trivial; +Cc: Paolo Bonzini, Don Slutz, Anthony Liguori

Signed-off-by: Don Slutz <dslutz@verizon.com>
---
 qemu-char.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/qemu-char.c b/qemu-char.c
index ef84b53..6eec1d2 100644
--- a/qemu-char.c
+++ b/qemu-char.c
@@ -1387,6 +1387,7 @@ static CharDriverState *qemu_chr_open_pty(const char *id,
     }
 
     close(slave_fd);
+    qemu_set_nonblock(master_fd);
 
     chr = qemu_chr_alloc();
 
-- 
1.8.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-01-12  8:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-22 15:04 [Qemu-devel] [PATCH 1/1] Do not hang on full PTY Don Slutz
2014-12-29  9:59 ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev
2014-12-29 20:27   ` Don Slutz
2014-12-29 23:41     ` Peter Maydell
2014-12-31  1:56       ` Don Slutz
2015-01-07  6:02       ` Paolo Bonzini
2015-01-12  8:56 ` [Qemu-devel] " Michael Tokarev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).