From: Ian Jackson Subject: Re: [PATCH]do not allow multiple xenconsole connect to the same pty Date: Tue, 15 Feb 2011 20:04:19 +0000 Message-ID: <19802.56387.984116.72453@mariner.uk.xensource.com> References: <201102151207.38331.lidongyang@novell.com> <19802.54932.293842.532179@mariner.uk.xensource.com> <20110215194900.443311ad@lxorguk.ukuu.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20110215194900.443311ad@lxorguk.ukuu.org.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Alan Cox Cc: "xen-devel@lists.xensource.com" , Li Dongyang List-Id: xen-devel@lists.xenproject.org Alan Cox writes ("Re: [Xen-devel] [PATCH]do not allow multiple xenconsole connect to the same pty"): > Use POSIX pty interfaces and you don't get these problems. See > grantpt/unlockpt/posix_openpt. Thanks for your helpful comment. Unfortunately it's not really relevant in this situation. What our code is doing is using ptys as an internal IPC mechanism. I think this is very wrong and I hope we can fix it in the Xen 4.2 release cycle. But for now it's what we have. Ian.