[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-trivial] [PATCH 1/1] Do not hang on full PTY
From: |
Don Slutz |
Subject: |
[Qemu-trivial] [PATCH 1/1] Do not hang on full PTY |
Date: |
Mon, 22 Dec 2014 10:04:00 -0500 |
Signed-off-by: Don Slutz <address@hidden>
---
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
- [Qemu-trivial] [PATCH 1/1] Do not hang on full PTY,
Don Slutz <=