[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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





On 13/9/06 14:59, "Muli Ben-Yehuda" <muli@xxxxxxxxxx> wrote:

>> You still have that message/queue struct stuff. Is it needed, especially now
>> that noecho is gone?
> 
> I need someplace to keep what we read from a source fd until the
> destination fd becomes writable. The original code just assumed
> everything is writable and wrote it immediately; this assumption may
> not be correct when the destination fd is a socket.

A character array would be more obvious. This will also allow an easy
implementation of console logging in the future -- the character array will
simply be an mmap'ed log file, where the log is rotated whenever the cursor
reaches the end of the buffer array.

 -- Keir



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.