From: Aron Griffis <aron@hp.com>
To: Alex Williamson <alex.williamson@hp.com>
Cc: xen-devel@lists.xensource.com, Keir Fraser <keir@xensource.com>,
xen-ia64-devel@lists.xensource.com
Subject: Re: console questions
Date: Tue, 7 Aug 2007 19:17:26 -0400 [thread overview]
Message-ID: <20070807231725.GC12998@fc.hp.com> (raw)
In-Reply-To: <20070807213658.GB12998@fc.hp.com>
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@hp.com>
# HG changeset patch
# User Aron Griffis <aron@hp.com>
# 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=");
next prev parent reply other threads:[~2007-08-07 23:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-06 21:29 console questions Aron Griffis
2007-08-07 7:59 ` Keir Fraser
2007-08-07 21:37 ` Aron Griffis
2007-08-07 23:17 ` Aron Griffis [this message]
2007-08-08 7:14 ` Keir Fraser
2007-08-09 3:06 ` Alex Williamson
2007-08-12 22:04 ` Alex Williamson
2007-08-08 7:16 ` Keir Fraser
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070807231725.GC12998@fc.hp.com \
--to=aron@hp.com \
--cc=alex.williamson@hp.com \
--cc=keir@xensource.com \
--cc=xen-devel@lists.xensource.com \
--cc=xen-ia64-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.