WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] console questions

To: Aron Griffis <aron@xxxxxx>, Alex Williamson <alex.williamson@xxxxxx>
Subject: Re: [Xen-devel] console questions
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Wed, 08 Aug 2007 08:14:24 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Keir Fraser <keir@xxxxxxxxxxxxx>, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 08 Aug 2007 00:08:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070807231725.GC12998@xxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcfZi7+C/i4YW0V+EdyzVwAWy6hiGQ==
Thread-topic: [Xen-devel] console questions
User-agent: Microsoft-Entourage/11.3.3.061214
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

<Prev in Thread] Current Thread [Next in Thread>