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] question on the evtchan stuff

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] question on the evtchan stuff
From: ron minnich <rminnich@xxxxxxxx>
Date: Fri, 18 Jun 2004 09:25:36 -0600 (MDT)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 18 Jun 2004 16:34:36 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: <E1BbKPQ-0003ZP-00@xxxxxxxxxxxxxxxxx>
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 Fri, 18 Jun 2004, Keir Fraser wrote:

> In a non-privileged guest, the only VIRQ you need care about is
> VIRQ_TIMER (although VIRQ_DEBUG may also be useful).

good to know. 

> Everything else is done via inter-domain event channels. Generally
> these are set up for you by control software in DOM0, and you are told
> the port address of your end of the channel. You can then send
> notifications to the far end, and receive async notifications
> yourself.

so console I/O goes through that shared-memory channel? I had noticed that 
one. 

> There is one bootstrap comms channel that is created for you to talk
> to the control software -- you get told the address of that endpoint
> in your start_info structure; the shared memory for messages is the
> second half of the shared_info page. For message formats and a
> sensible abstraction layer see tools/xend/lib/domain_controller.h
> (this is #include'd into your OS), and
> linux-2.4.26-xen-sparse/arch/xen/kernel/evtchn.c, and
> linux-2.4.26-xen-sparse/arch/xen/kernel/ctrl_if.c, and

yes, these are my reference right now, the key is figuring out how to use 
them :-)

It seems that kicking off the shared memory message channel is done by a 
callback from Xen to guest OS, right? That's how I read it right now.

anyway, it's getting closer. 

It's overall pretty nice.

ron



-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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