Commit fac6688a authored by Don Slutz's avatar Don Slutz Committed by Michael Tokarev
Browse files

Do not hang on full PTY

parent b4952c36
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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();