[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] about vga_endboot logic

  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "余上" <yusunn@xxxxxxxxx>
  • Date: Sat, 19 Jan 2008 23:30:57 +0800
  • Delivery-date: Sat, 19 Jan 2008 07:31:21 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=trwNsPiQJhCl+HgF6r+W7LOlFWZ1o1J7brzwKskfJhUPm8hpSVsyC9HWyDSepZ9J8W5rQHtCjRu3atOia7gOHM0XFpqKrSrTzpkkwUkdZO0V8gR62udT2XkMZ3XMSTu9IoWGgIWaxtshgz6Ca/LQojqurvUYg1aDbFdBUb8/5Tk=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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 )

    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



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.