From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Stabellini Subject: Re: [PATCH] 1 of 5: secondary consoles in minos Date: Mon, 15 Jun 2009 10:49:29 +0100 Message-ID: <4A361929.7080002@eu.citrix.com> References: <4A311DC7.6080801@eu.citrix.com> <940bcfd20906112155v1f86fdcif0d8d7131dde31d0@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <940bcfd20906112155v1f86fdcif0d8d7131dde31d0@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dulloor Cc: xen-devel List-Id: xen-devel@lists.xenproject.org Dulloor wrote: > For completeness, we should be freeing up memory(malloced for dev) in > case of an error in xencons_ring_init. There could be other such instances. Good point. > Also, is it too difficult to create a consfront_dev for the first > console and get rid of those !dev checks. No, it is not difficult, I actually wrote it that way the first time. However I would need to keep the checks anyway because the first console is used even before init_console is called. Therefore I decided to avoid calling init_console for the first console and use the !dev checks for it.