From mboxrd@z Thu Jan 1 00:00:00 1970 From: Deepak Manohar Subject: Re: simple backend, frontend Date: Fri, 12 Nov 2004 16:03:05 -0500 Message-ID: References: Reply-To: Deepak Manohar Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Keir Fraser Cc: andrew.warfield@cl.cam.ac.uk, mark.williamson@cl.cam.ac.uk, xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org Hi Keir, > To set up an event channel and shared memory between two domains you > need some out-of-band communication, which may or may not be xend. > Instead the communication could be done via an interdomain IP network, > for example. However you arrange it, each domain probably needs to > know the domid of the other guy. Also both ends need to know the > address of the page they are to share, and the remote port for teh > shared event channel. > > -- Keir > ok lets say that via some out of band comm channel i inform both domains about the remote port of the shared event channel and the address of the shared page. 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 linux-2.6.9-xen-sparse/drivers/xen/evtchn/evtchn.c or linux-2.6.9-xen-sparse/arch/xen/kernel/evtchn.c im confused which of the above api is accessible for a module in the xenolinux kernel. 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) Thanks. Deepak On Fri, 12 Nov 2004 08:22:14 +0000, Keir Fraser wrote: > > > > Now if I need to add another custom backend using the same method as > > the netif or blkif backends dont I have to modify Xend as well? > > > > Is there a simpler way of establishing event channels between domains > > by directly accessing the API in xen/common/event_channel.c > > > > Some assumptions that Im making - the frontend will be started only > > after the backend is running. Im primarily going to be using this > > frontend/backend for transferring large data between a user domain and > > the control domain. So I will have to establish shared mem pages as > > well. > ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click