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] HYPERVISOR_console_write gone?

To: Jacob Gorm Hansen <jacob@xxxxxxxx>
Subject: Re: [Xen-devel] HYPERVISOR_console_write gone?
From: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Date: Wed, 10 Mar 2004 12:44:48 +0000
Cc: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>, Xen list <xen-devel@xxxxxxxxxxxxxxxxxxxxx>, Ian.Pratt@xxxxxxxxxxxx
Delivery-date: Wed, 10 Mar 2004 12:57:01 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Wed, 10 Mar 2004 13:38:36 +0100." <1078922316.612.31.camel@jacobg>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> On Wed, 2004-03-10 at 13:20, Jacob Gorm Hansen wrote:
> 
> > Btw, there is no common/console.c in neither Xen nor Xenolinux. I would
> > really like to have HYPERVISOR_console_write back, so I have re-added
> > the definition to asm/hypervisor.h. What do I have to change in Xen (I
> > don't think I want a full debug build) to make it work?
> 
> Never mind, fixed drivers/char/console.c to suit my needs. I am still
> curious about how to get guest console output send to dom0 though.

Run the new 'xend' in domain 0, and when you start a domain with
xc_dom_create it will print out which TCP port the domain's
console will be available on (e.g. "telnet localhost 9600").

The interface is just about to undergo some further changes, but
this should work for now. console is now bidirectional, so you
should be able to login if you run a getty on 'console' e.g. in
/etc/inittab

C:2345:respawn:/sbin/mingetty console

Ian



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel