ia64/xen-unstable

changeset 2912:1c0b0d49f291

bitkeeper revision 1.1159.169.1 (418e9fbcYPjvgCp5hHW29dMCpCsuDA)

Disable Xen VGA output later in the boot, so we get more start-of-day
messages. Most importantly, users get a visual cue on VGA console when
whole of main memory is scrubbed immediately before starting dom0.
author kaf24@freefall.cl.cam.ac.uk
date Sun Nov 07 22:20:44 2004 +0000 (2004-11-07)
parents 42882b3e0dda
children 79d8674c230f 35fca751ac73
files xen/arch/x86/domain.c xen/common/kernel.c
line diff
     1.1 --- a/xen/arch/x86/domain.c	Fri Nov 05 10:38:34 2004 +0000
     1.2 +++ b/xen/arch/x86/domain.c	Sun Nov 07 22:20:44 2004 +0000
     1.3 @@ -895,9 +895,6 @@ int construct_dom0(struct domain *p,
     1.4              l2start[i] = mk_l2_pgentry(0);
     1.5      zap_low_mappings(); /* Do the same for the idle page tables. */
     1.6      
     1.7 -    /* Give up the VGA console if DOM0 is configured to grab it. */
     1.8 -    console_endboot(cmdline && strstr(cmdline, "tty0"));
     1.9 -
    1.10      /* DOM0 gets access to everything. */
    1.11      physdev_init_dom0(p);
    1.12  
     2.1 --- a/xen/common/kernel.c	Fri Nov 05 10:38:34 2004 +0000
     2.2 +++ b/xen/common/kernel.c	Sun Nov 07 22:20:44 2004 +0000
     2.3 @@ -349,6 +349,9 @@ void cmain(multiboot_info_t *mbi)
     2.4  
     2.5      init_trace_bufs();
     2.6  
     2.7 +    /* Give up the VGA console if DOM0 is configured to grab it. */
     2.8 +    console_endboot(cmdline && strstr(cmdline, "tty0"));
     2.9 +
    2.10      domain_unpause_by_systemcontroller(current);
    2.11      domain_unpause_by_systemcontroller(dom0);
    2.12      startup_cpu_idle_loop();