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

[Xen-changelog] [xen-unstable] Use printk log-level limiting even during Xen boot.



# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1170956774 0
# Node ID 355c740d133090e9ea6784b75946ea9890a8836b
# Parent  a68a3c6cac5f33664edd5e94a1c83d9235e8fd3c
Use printk log-level limiting even during Xen boot.
Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---
 xen/drivers/char/console.c |    5 +----
 1 files changed, 1 insertion(+), 4 deletions(-)

diff -r a68a3c6cac5f -r 355c740d1330 xen/drivers/char/console.c
--- a/xen/drivers/char/console.c        Thu Feb 08 17:38:30 2007 +0000
+++ b/xen/drivers/char/console.c        Thu Feb 08 17:46:14 2007 +0000
@@ -102,7 +102,7 @@ custom_param("loglvl", parse_loglvl);
 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)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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