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

[Xen-changelog] [linux-2.6.18-xen] xencons: Default to xvc0. 'xencons=tty' gets old domU behaviour.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1186473488 -3600
# Node ID 12c399692d44ff83a4c1a8297d517e8692b66614
# Parent  8d5ae51a09a66ff450b46ebb09ff99475604ed91
xencons: Default to xvc0. 'xencons=tty' gets old domU behaviour.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 drivers/xen/console/console.c |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diff -r 8d5ae51a09a6 -r 12c399692d44 drivers/xen/console/console.c
--- a/drivers/xen/console/console.c     Wed Aug 01 15:16:46 2007 +0100
+++ b/drivers/xen/console/console.c     Tue Aug 07 08:58:08 2007 +0100
@@ -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 @@ void xencons_early_setup(void)
 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)

_______________________________________________
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®.