All of lore.kernel.org
 help / color / mirror / Atom feed
From: Deepak Manohar <mjdeepak@gmail.com>
To: Keir Fraser <keir.fraser@cl.cam.ac.uk>
Cc: andrew.warfield@cl.cam.ac.uk, mark.williamson@cl.cam.ac.uk,
	xen-devel@lists.sourceforge.net
Subject: Re: simple backend, frontend
Date: Fri, 12 Nov 2004 16:03:05 -0500	[thread overview]
Message-ID: <fdef3c24041112130344eac989@mail.gmail.com> (raw)
In-Reply-To: <E1CSWhC-0004SE-00@mta1.cl.cam.ac.uk>

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
<keir.fraser@cl.cam.ac.uk> 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

  reply	other threads:[~2004-11-12 21:03 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-11 15:37 simple backend, frontend Deepak Manohar
2004-11-11 16:07 ` Mark A. Williamson
2004-11-11 16:18   ` Andrew Warfield
2004-11-11 19:21     ` Deepak Manohar
2004-11-11 19:33       ` Andrew Warfield
2004-11-11 20:11         ` Steven smith
2004-11-11 21:49       ` Mark A. Williamson
2004-11-12  8:22       ` Keir Fraser
2004-11-12 21:03         ` Deepak Manohar [this message]
2004-11-12 21:30           ` Mark A. Williamson
2004-11-14 15:34             ` Deepak Manohar
2004-11-14 15:42               ` Keir Fraser
2004-11-17 18:27                 ` Deepak Manohar
2004-11-17 19:49                   ` Bin Ren
2004-11-17 21:59                   ` Keir Fraser
2004-11-18 17:45                     ` Georgios Portokalidis
2004-11-18 17:50                       ` Keir Fraser
2004-11-18 17:57                         ` Georgios Portokalidis
2004-11-12 23:54         ` Adam Heath

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fdef3c24041112130344eac989@mail.gmail.com \
    --to=mjdeepak@gmail.com \
    --cc=andrew.warfield@cl.cam.ac.uk \
    --cc=keir.fraser@cl.cam.ac.uk \
    --cc=mark.williamson@cl.cam.ac.uk \
    --cc=xen-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.