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

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

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH] allow connecting to xenconsole from remote hosts
From: Muli Ben-Yehuda <muli@xxxxxxxxxx>
Date: Thu, 14 Sep 2006 17:37:46 +0300
Cc: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Anthony Liguori <anthony@xxxxxxxxxxxxx>, Orran Y Krieger <okrieg@xxxxxxxxxx>
Delivery-date: Thu, 14 Sep 2006 07:38:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C12F2536.139F%Keir.Fraser@xxxxxxxxxxxx>
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>
References: <20060914111417.GK3425@xxxxxxxxxxxxxxxxxx> <C12F2536.139F%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11
On Thu, Sep 14, 2006 at 03:26:46PM +0100, Keir Fraser wrote:

> On 14/9/06 12:14, "Muli Ben-Yehuda" <muli@xxxxxxxxxx> wrote:
> 
> > Changes since last version:
> > - get rid of the 'queue of messages', instead each queueu is a ring
> >   buffer of characters that we read into and write from directly.
> 
> All our other ring buffers have free-running indexes (i.e., they do not wrap
> to zero when they reach the end of the buffer). This makes it easier to
> determine number of entries in use (it's 'producer minus consumer' -- that's
> another thing, it's standard idiom for us to call the indexes producer (or
> prod) and consumer (or cons)). We then mask the high-order bits when
> actually indexing into the buffer.

Ok, I'll make these changes. Appreciate the feedback!

Cheers,
Muli

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel