From: Keir Fraser Subject: Re: [PATCH] xencons missing string allocation Date: Tue, 13 Dec 2005 21:00:35 +0000 Message-ID: References: <1134153451.6136.14.camel@tdi> <20051209185448.GD9830@granada.merseine.nu> <1134160653.6463.6.camel@tdi> <1134172824.6952.6.camel@tdi> <1134232041.23367.21.camel@localhost.localdomain> <78ef4b0c9258d4fa7788fce3e3a5287b@cl.cam.ac.uk> <1134424851.5523.9.camel@localhost> <1134506652.11473.102.camel@localhost> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1134506652.11473.102.camel@localhost> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Alex Williamson Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On 13 Dec 2005, at 20:44, Alex Williamson wrote: > As you can see, the xen console driver is a little bit unique here. > Most drivers have their own range of devices they claim and the tty > index is identical to the device file index. For us, the tty index is > always zero regardless of the device file index. Based on this > understanding of how it all works, I think the below patch is > sufficient > to solve the problem and allow us to move xencons around to device > numbers other than ttyS0 and tty1. Hopefully that clears up the index > confusion. Thanks, Thanks for investigating! I'll apply the patch. -- Keir