From: Keir Fraser Subject: Re: console questions Date: Wed, 08 Aug 2007 08:14:24 +0100 Message-ID: References: <20070807231725.GC12998@fc.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20070807231725.GC12998@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: Aron Griffis , Alex Williamson Cc: xen-devel@lists.xensource.com, Keir Fraser , xen-ia64-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This goes into the ia64 tree, if it's to be applied. K. On 8/8/07 00:17, "Aron Griffis" wrote: > 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="); > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel