mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-01 22:23:23 -10:00
Do not hang on full PTY
Signed-off-by: Don Slutz <[email protected]> Reviewed-by: Paolo Bonzini <[email protected]> Signed-off-by: Michael Tokarev <[email protected]>
This commit is contained in:
1 parent
b4952c3677
commit
fac6688a18
1 file changed
+1
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user