projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4952c3
)
Do not hang on full PTY
author
Don Slutz
<dslutz@verizon.com>
Mon, 22 Dec 2014 15:04:00 +0000
(10:04 -0500)
committer
Michael Tokarev
<mjt@tls.msk.ru>
Thu, 15 Jan 2015 07:44:13 +0000
(10:44 +0300)
Signed-off-by: Don Slutz <dslutz@verizon.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
qemu-char.c
patch
|
blob
|
history
diff --git
a/qemu-char.c
b/qemu-char.c
index 5430b870488edbd9e17fd1ddf7f28c67a7c73f11..98d434237f33a4fac8d306e67e9aaf76739139c0 100644
(file)
--- a/
qemu-char.c
+++ b/
qemu-char.c
@@
-1402,6
+1402,7
@@
static CharDriverState *qemu_chr_open_pty(const char *id,
}
close(slave_fd);
+ qemu_set_nonblock(master_fd);
chr = qemu_chr_alloc();