From 0a14b07e81c45e606de88c3ff86cb551796f33c8 Mon Sep 17 00:00:00 2001 From: kfraser Date: Tue, 7 Aug 2007 08:58:08 +0100 Subject: [PATCH] xencons: Default to xvc0. 'xencons=tty' gets old domU behaviour. Signed-off-by: Keir Fraser --- drivers/xen/console/console.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/xen/console/console.c b/drivers/xen/console/console.c index 1053ef8f..0d88377c 100644 --- a/drivers/xen/console/console.c +++ b/drivers/xen/console/console.c @@ -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) -- 2.39.5