[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] console questions
This goes into the ia64 tree, if it's to be applied. K. On 8/8/07 00:17, "Aron Griffis" <aron@xxxxxx> 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 <aron@xxxxxx> > > # HG changeset patch > # User Aron Griffis <aron@xxxxxx> > # 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@xxxxxxxxxxxxxxxxxxx > http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |