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] simple backend, frontend

To: mark.williamson@xxxxxxxxxxxx
Subject: Re: [Xen-devel] simple backend, frontend
From: Deepak Manohar <mjdeepak@xxxxxxxxx>
Date: Sun, 14 Nov 2004 10:34:43 -0500
Cc: Keir Fraser <keir.fraser@xxxxxxxxxxxx>, andrew.warfield@xxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 14 Nov 2004 15:59:47 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=pkYgSGBm/BpfYTSky9IeMEx7d7mV9oLQWA6AtQ2DToqnMEf2dcg3ke3bqPtnx3xWnSwxAmmHhT9vSchl+RM9AAHfj+plLAqn/Qx1aZmKLf+Q/x4nABzJ6KKCPMU3uzIGlZKSoGhd8b5N4lyweCuDHHOMhvDqyHj+PcaUJGBNMU8=
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: <200411122131.00338.mark.williamson@xxxxxxxxxxxx>
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: <fdef3c24041111112178c14610@xxxxxxxxxxxxxx> <E1CSWhC-0004SE-00@xxxxxxxxxxxxxxxxx> <fdef3c24041112130344eac989@xxxxxxxxxxxxxx> <200411122131.00338.mark.williamson@xxxxxxxxxxxx>
Reply-to: Deepak Manohar <mjdeepak@xxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Hi,

 Sorry I seem to be stuck and asking similar questions.

> > linux-2.6.9-xen-sparse/arch/xen/kernel/evtchn.c
> 
> That's the one in kernel users will call into.

 That file does not contain any code to create event channels. 


 Do I have to write some code in Xen tht uses xen/common/event_channel.c creates
an event channel on init. And then pass the port returned to some
other program which passes it to the other domain?

Thanks.
Deepak




On Fri, 12 Nov 2004 21:30:59 +0000, Mark A. Williamson
<mark.williamson@xxxxxxxxxxxx> wrote:
> >  can u tell me in which file is the api to perform operations on a
> > shared event channel? is it in xen/common/event_channel.c or is it in
> 
> That one implements Xen's handling of event channel ops - you don't need to
> interact with it directly.
> 
> > linux-2.6.9-xen-sparse/drivers/xen/evtchn/evtchn.c or
> 
> That provides the event channel to userspace interaction - Xend uses it but
> you don't need to.
> 
> > linux-2.6.9-xen-sparse/arch/xen/kernel/evtchn.c
> 
> That's the one in kernel users will call into.
> 
> > further more why arent these files in the linux-2.4.27-xen-sparse
> > directory? (everything works fine so it is not a prob - but i thought
> > the same file structure might have been followed for 2.4 and 2.6)
> 
> There's some magic that symlinks files from the 2.6 tree into the right place.
> I've never tried to figure out how it works, though ;-)
> 
> HTH,
> Mark
>


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel