[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] char: drop data written to a disconnected pty
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH] char: drop data written to a disconnected pty |
Date: |
Wed, 1 Feb 2017 17:11:15 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 |
On 31/01/2017 14:19, Ed Swierk wrote:
> Either way, when a pty is disconnected data will get dropped, whether
> by the pty backend (as proposed) or by the serial port device or other
> frontend (as currently).
>
> The only difference from a user's perspective is whether the dropped
> data gets written to the log file, which is the main motivation for
> this change. The backward compatibility concern would be an existing
> application that relies on data not being logged when the pty is
> disconnected.
Which is clearly a bug and a pointless difference between TCP and pty
backends, so the patch is okay.
Paolo
- Re: [Qemu-devel] [PATCH] char: drop data written to a disconnected pty,
Paolo Bonzini <=