From: Keir Fraser Subject: Re: about vga_endboot logic Date: Mon, 21 Jan 2008 11:45:06 +0000 Message-ID: References: <298d852f0801190730s7d405230o8e784cda26cca76b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-2022-JP" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <298d852f0801190730s7d405230o8e784cda26cca76b@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: =?ISO-2022-JP?B?GyRCTT4+ZRsoQiA=?= , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is already correct in all active branches (3.1, 3.2, 3.3). -- Keir On 19/1/08 15:30, "余上" wrote: > Hi all , > > I think the logic of vga_endboot is not correct , if I pass vga=keep > xen will print : > Xen is keeping VGA console. > but if I do not pass keep parmeter xen will not print : > Xen is relinquishing VGA console. > > The new logic should be: > > void vga_endboot(void) > { > if ( !vgacon_enabled ) > return; > > printk("Xen is %s VGA console.\n", > vgacon_keep ? "keeping" : "relinquishing"); > > if ( !vgacon_keep ) > vgacon_enabled = 0; > > } > just move printk before the second if statement > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel