From: Keir Fraser Subject: Re: [PATCH] xenconsole: fix xencons=tty[0-9]+ param Date: Fri, 30 Jun 2006 18:31:50 +0100 Message-ID: References: <1151686608.6184.67.camel@localhost.localdomain> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1151686608.6184.67.camel@localhost.localdomain> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Mark McLoughlin Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 30 Jun 2006, at 17:56, Mark McLoughlin wrote: > If you boot with e.g. xencons=tty3, then tty1/tty2 aren't valid > devices. > > Attached patch makes it always create valid devices on tty1-tty63, but > all but the one specified by xencons are dummy devices. Is your change to ttyS correct for anything other than ttyS0? Looks like you'd incorrectly bind on ttyS0. Also I see you made a predicate more complicated which is repeated many times. Could you hide it behind a suitably named macro? You may need to make it more complicated still to fix ttyS case... -- Keir