]> xenbits.xensource.com Git - xenclient/kernel.git/commitdiff
xencons: Default to xvc0. 'xencons=tty' gets old domU behaviour.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 7 Aug 2007 07:58:08 +0000 (08:58 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 7 Aug 2007 07:58:08 +0000 (08:58 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
drivers/xen/console/console.c

index 1053ef8ff1ea627843a7f244ed607716a6c0c7f4..0d88377c8b9f678e45b3ee71b6329354ffc83eaf 100644 (file)
@@ -73,7 +73,7 @@
  */
 static enum {
        XC_OFF, XC_TTY, XC_SERIAL, XC_XVC
-} xc_mode;
+} xc_mode = XC_XVC;
 static int xc_num = -1;
 
 /* /dev/xvc0 device number allocated by lanana.org. */
@@ -88,13 +88,7 @@ extern int sysrq_enabled;
 void xencons_early_setup(void)
 {
        extern int console_use_vt;
-
-       if (is_initial_xendomain()) {
-               xc_mode = XC_SERIAL;
-       } else {
-               xc_mode = XC_TTY;
-               console_use_vt = 0;
-       }
+       console_use_vt = 0;
 }
 
 static int __init xencons_setup(char *str)