qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 2/3] Always use nonblocking mode for qemu_chr_op


From: Samuel Thibault
Subject: Re: [Qemu-devel] [PATCH 2/3] Always use nonblocking mode for qemu_chr_open_fd.
Date: Thu, 24 Jul 2008 10:33:02 +0100
User-agent: Mutt/1.5.12-2006-07-14

Jamie Lokier, le Thu 24 Jul 2008 10:24:03 +0100, a écrit :
> Gerd Hoffmann wrote:
> >   (2) Run ptys in non-blocking mode.  Drawback: we risk loosing data
> >       in case the pty reader is slow (also when nobody is connected of
> >       course, but that is intentional ...).
> 
> (4) Run ptys in non-blocking mode, but use a small output buffer in
>     QEMU so nothing is lost.  It's not that hard.

Err, there's _already_ a small buffer in the kernel pty layer :)

Samuel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]