From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aron Griffis Subject: Re: console questions Date: Tue, 7 Aug 2007 19:17:26 -0400 Message-ID: <20070807231725.GC12998@fc.hp.com> References: <20070806212923.GA22302@fc.hp.com> <20070807213658.GB12998@fc.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20070807213658.GB12998@fc.hp.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Alex Williamson Cc: xen-devel@lists.xensource.com, Keir Fraser , xen-ia64-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Alex, linux-2.6.18-xen.hg cset 153:12c399692d44 changed the xencons default to xvc for both dom0 and domU. I believe this ia64 patch is appropriate though I'm slightly unsure because everything seems to work correctly, even without it! Nonetheless, I built and boot-tested dom0 with this patch. Signed-off-by: Aron Griffis # HG changeset patch # User Aron Griffis # Date 1186527819 14400 # Node ID 99297c7bc9d945f3a902db9324efae438c64e316 # Parent 840b9df48b6a4f0f569963dba01885bde2946b6b xencons default is now xvc for dom0/domU diff -r 840b9df48b6a -r 99297c7bc9d9 arch/ia64/kernel/setup.c --- a/arch/ia64/kernel/setup.c Tue Aug 07 09:37:41 2007 +0100 +++ b/arch/ia64/kernel/setup.c Tue Aug 07 19:03:39 2007 -0400 @@ -560,17 +560,12 @@ setup_arch (char **cmdline_p) /* * If a console= is NOT specified, we assume using the - * xencons console is desired. By default, this is ttyS0 - * for dom0 and tty0 for domU. + * xencons console is desired. By default this is xvc0 + * for both dom0 and domU */ if (!strstr(*cmdline_p, "console=")) { - char *p, *q, name[5]; + char *p, *q, name[5] = "xvc"; int offset = 0; - - if (is_initial_xendomain()) - strncpy(name, "ttyS", 4); - else - strncpy(name, "tty", 3); p = strstr(*cmdline_p, "xencons=");