From: Ian Jackson Subject: Re: [PATCH 1/2] tools/console: reset tty when xenconsole fails Date: Mon, 17 Mar 2014 17:08:03 +0000 Message-ID: <21287.11251.489392.65851@mariner.uk.xensource.com> References: <1395073457-2584-1-git-send-email-ian.jackson@eu.citrix.com> <1395073457-2584-2-git-send-email-ian.jackson@eu.citrix.com> <53272450.3010808@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <53272450.3010808@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: George Dunlap Cc: xen-devel@lists.xensource.com, Ian Campbell , M A Young List-Id: xen-devel@lists.xenproject.org George Dunlap writes ("Re: [PATCH 1/2] tools/console: reset tty when xenconsole fails"): > On 03/17/2014 04:24 PM, Ian Jackson wrote: > > If xenconsole (the client program) fails, it calls err. This would > > previously neglect to reset the user's terminal to sanity. Use atexit > > to do so. > > > > This routinely happens in Xen 4.4 RC5 with pygrub because something > > writes the value "" to the tty xenstore key when using xenconsole. > > The cause of this is not yet known, but after this patch it just > > results in a harmless error message. > > Is it the case that the cause of this is still not yet known? It seemed > to be explained by the subsequent patch. :-) Um :-). I will fix that in the commit message. > Acked-by: George Dunlap Thanks, Ian.