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/
Home Products Support Community News


Re: [Xen-devel] [RFC PATCH] allow connecting to xenconsole from remote h

To: Muli Ben-Yehuda <muli@xxxxxxxxxx>
Subject: Re: [Xen-devel] [RFC PATCH] allow connecting to xenconsole from remote hosts
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Wed, 06 Sep 2006 19:34:57 +0100
Cc: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Orran Y Krieger <okrieg@xxxxxxxxxx>
Delivery-date: Wed, 06 Sep 2006 11:33:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060906181222.GE9350@xxxxxxxxxxxxxxxxxx>
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: AcbR4ycTZWpSJj3WEduQ5wAX8io7RQ==
Thread-topic: [Xen-devel] [RFC PATCH] allow connecting to xenconsole from remote hosts
User-agent: Microsoft-Entourage/

On 6/9/06 19:12, "Muli Ben-Yehuda" <muli@xxxxxxxxxx> wrote:

>> Why is this a problem? In cases where an echo is really not wanted, like in
>> a gdb control session, the remote end would not be echoing in the first
>> place.
> Hmm, are you saying it's not the pty itself that echo's stuff back at
> us, it's whatever is on the other side? (the console daemon or the
> domain?). 

The echoing comes from the domU itself, unless it's running some kind of
raw-mode client on the console. A normal getty setup will have echoing.

> In any case, I have to admit it hasn't bitten us in practice when
> using gdb; either gdb is smart enough to handle this on its own or I'm
> missing something. However, supporting --noecho is still nicer from an
> aesthetic point of view: compare a console session with and without
> --noecho and using telnet on the remote side - without it you get
> everything you write echo'd back at you.

You mean telnet connected to xenconsole connected to domU? You should run
the telnet in raw mode. Problem solved.

 -- Keir

Xen-devel mailing list