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] dom0 access to xen console

To: James Scott <jamesscott@xxxxxxx>
Subject: Re: [Xen-devel] dom0 access to xen console
From: Bin Ren <br260@xxxxxxxxx>
Date: Fri, 28 Nov 2003 15:13:02 +0000
Cc: Devel Xen <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 28 Nov 2003 15:14:16 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: <3FC73C6E.1090305@xxxxxxx>
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>
References: <3FC73C6E.1090305@xxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
On 28 Nov 2003, at 12:15, James Scott wrote:

I notice that there's a dom0 hypercall to get the Xen console output... but I can't seem to find a utility in/for xenolinux that will read it? Is this because it was implemented in the old tools but has not yet been done with the new ones?

Before Keir rewrote all the Domain0 tools in Python,
a tool 'xi_read_console_ring' under 'tools/internal'
can be used to read Xen console output.

Now, this function can be found in 'tools/xc/lib/xc_misc.c'.
The function name is 'xc_readconsolering'. In other words,
it's part of the 'xc' library.

Now you can use Python to combine various functions in
'xc' library to create your own control script. Several examples
are located under 'tools/examples'.

We currently don't have a Python script to read Xen console
output. You can write one using the function mentioned above
without too much difficulty.

Last, all this new stuff is in 'xeno-unstable.bk', NOT 'xeno-1.1.bk'

-- Bin



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>