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: andrew.warfield@xxxxxxxxxxxx
Subject: Re: [Xen-devel] simple backend, frontend
From: Deepak Manohar <mjdeepak@xxxxxxxxx>
Date: Thu, 11 Nov 2004 14:21:01 -0500
Cc: mark.williamson@xxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 11 Nov 2004 20:08:48 +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=B6QRsUewPljDtWVUEM6QWf0G57RvNsGbpcQNYiCnW9crpvZphjEFSYeZ5Yd22Y6zEdc0i/H8k2ZakbDHKQ57CBkC5godjqFbstqHL9EI7HugW96SHZt5K2juYg6b60DZFjaBucSQCqfIR2LaqNC00yWg1YIFT1c3igDOquFfk4A=
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: <eacc82a404111108187c2b6010@xxxxxxxxxxxxxx>
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: <fdef3c24041111073727feb40b@xxxxxxxxxxxxxx> <200411111607.11389.mark.williamson@xxxxxxxxxxxx> <eacc82a404111108187c2b6010@xxxxxxxxxxxxxx>
Reply-to: Deepak Manohar <mjdeepak@xxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Hi,

 Ive looked at the blkifdrivers.txt. 

 Wht Im confused about is - both in the netif backend and the blkif
backend the initial communication is with xend. The blkif initially
sends - BLKIF_DRIVER_STATUS_UP
the netif backend sends an equivalent. Im assuming that Xend
differentiates between the two and sends different response either
CMSG_BLKIF_BE_CREATE or CMSG_NETIF_BE_CREATE.

 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.

Thanks.

Deepak


On Thu, 11 Nov 2004 16:18:09 +0000, Andrew Warfield
<andrew.warfield@xxxxxxxxx> wrote:
> You may also want to look at docs/misc/blkif-drivers-explained.txt,
> which has a textual description of how the split block drivers work.
> Alex went through it about a week ago and brought it up to date with
> the (then) current sources.
> 
> a.
> 
> 
> 
> 
> On Thu, 11 Nov 2004 16:07:09 +0000, Mark A. Williamson
> <mark.williamson@xxxxxxxxxxxx> wrote:
> > In the event you can't find a simple example, feel free to ask questions 
> > about
> > the existing block / net drivers.  You'll find that the frontends are much
> > simpler so you may want to look at those first.  I also found that the
> > backend for network was easier to understand than the block backend.
> >
> > You should also look at domain_controller.h, which defines all of the 
> > control
> > messages used to set up the shared memory and event channels.
> >
> > HTH,
> > Mark
> >
> >
> >
> > On Thursday 11 Nov 2004 15:37, Deepak Manohar wrote:
> > > Hi all,
> > >
> > > Does anyone have a custom backend, frontend pair?  Preferably a very
> > > simple one that simply sets up eventchannels and shared memory pages.
> > >
> > > Thanks.
> > >
> > > Deepak
> > >
> > >
> > > -------------------------------------------------------
> > > 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
> > > _______________________________________________
> > > Xen-devel mailing list
> > > Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> > > https://lists.sourceforge.net/lists/listinfo/xen-devel
> > 
> > -------------------------------------------------------
> 
> 
> > 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
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> > https://lists.sourceforge.net/lists/listinfo/xen-devel
> >
>


-------------------------------------------------------
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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel