Use printk log-level limiting even during Xen boot.
authorKeir Fraser <keir@xensource.com>
Thu, 8 Feb 2007 17:46:14 +0000 (17:46 +0000)
committerKeir Fraser <keir@xensource.com>
Thu, 8 Feb 2007 17:46:14 +0000 (17:46 +0000)
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
xen/drivers/char/console.c

index 7eea5b2b4e2444f926940ae8bc6704b1b4509a30..cfc7e98a17ab97e2fb4e3d294873ad99ea611462 100644 (file)
@@ -102,7 +102,7 @@ static void parse_guest_loglvl(char *s);
 custom_param("loglvl", parse_loglvl);
 custom_param("guest_loglvl", parse_guest_loglvl);
 
-static atomic_t print_everything = ATOMIC_INIT(1);
+static atomic_t print_everything = ATOMIC_INIT(0);
 
 #define ___parse_loglvl(s, ps, lvlstr, lvlnum)          \
     if ( !strncmp((s), (lvlstr), strlen(lvlstr)) ) {    \
@@ -569,9 +569,6 @@ void console_endboot(void)
 
     /* Serial input is directed to DOM0 by default. */
     switch_serial_input();
-
-    /* Now we implement the logging thresholds. */
-    console_end_log_everything();
 }
 
 void console_start_log_everything(void)