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

[Xen-devel] Additional terminals for debugging custom OS


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: The Evil Geek <theevilgeek@xxxxxxxxx>
  • Date: Mon, 1 Oct 2007 17:22:24 -0700 (PDT)
  • Delivery-date: Mon, 01 Oct 2007 17:23:05 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=2zx/PfuFumSHD2//ZMwV8fr3Zow7A4urpHxi5YVsDec/brMTY7ihaFvp8Ic1cZhDJkwp4vNpEsYmmwVAE+VyrIjSHmp+l+kkZrBGt7xswtPLVC+9m7Sx5z+DlYTN0Xxc0S4rMb/XOPTLYMm5DM8q/DhBsnRVVKd9pH0f8Q0y+0c=;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Dear xen-devel,

My partner and I are working to port an "educational"
UNIX-like operating system from a custom simulator to
the Xen platform for an operating systems class here
at Brown University.

Traditionally, students interacted with this OS (named
"Weenix") through three terminals which were exposed
to Weenix as character devices /dev/tty0 through
/dev/tty3. Additional, the actual terminal through
which the Weenix system had been started would serve
as a console for printing "meta" debugging output to
(this terminal would not be visible to Weenix itself).

We've made significant ground porting Weenix to Xen
(which we have renamed "Wox"), however, we're a bit
hung up in trying to simulate those original three
terminals without going overboard.

We've toyed with the idea of simply using escape
sequence to "split" a single terminal, but this seems
ugly and is not truly what we'd like. We'd much prefer
a way to attach multiple terminals to a single Weenix
instance such that Weenix can interact with these
terminals as if they were character devices. 

One option seems to be modifying the "back-end" driver
utilized by block I/O devices but this seems as though
it would require us to alter Xen itself. Beyond this,
we're really not sure how to proceed. Any pointers or
general advice would be greatly appreciated.
Unfortunately, Weenix doesn't have a network stack;
it's only three or four times more complex than
mini-os :)

Thank you very much!

Brandon & Dan
Brown University




      
____________________________________________________________________________________
Check out the hottest 2008 models today at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html

_______________________________________________
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®.