[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] back/frontend drivers HelloWorld


  • To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
  • From: NAHieu <nahieu@xxxxxxxxx>
  • Date: Fri, 23 Sep 2005 18:53:17 +0900
  • Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Anton Korenyushkin <tiger@xxxxxxxxxxxxxx>
  • Delivery-date: Fri, 23 Sep 2005 09:51:00 +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:content-disposition:references; b=lDJXsf17yZcKTvfNL2bQ5pmsDUa3lwnM4bD7tcP3aIyI8kO85mlwpTbDcnqDqM2ufosHqEtaGdOWxA37FEyU2M9EU87fXiziqK+aSKo3tpdYml6tld8V+VnZ6TLY5LZkldvixMHCoed/2FYuGrUkDG2knVFaOk44e32LbTXqi1k=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On 9/22/05, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> wrote:
>
> On 22 Sep 2005, at 14:46, Anton Korenyushkin wrote:
>
> >
> > I'm reading blkback/front driver's code, but it is too complicated.
> > I've
> > understood that i should use message rings for my task (i've read
> > docs/misc/blkif-drivers-explained.txt too). But how to get such ring?
> >
> > May be a simple example of solution such problem exists, so could you
> > point me
> > on this example?
>
> You bootstrap yourself via xenbus. You have a pre-agreed location in
> the xenstore hieararchy where the frontend driver writes key-value
> pairs containing the grant reference for the page containing the
> message rings, and an event channel for async notifications.
>

I imagine that we can get rid of event channel, and use xenstore to
notify. That is certainly OK, but I doubt about its efficientcy. What
do you think?

Thanks,
NAH

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.