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

Re: [Xen-devel] Daemon on XEN


  • To: Carlo Maiero <zesster@xxxxxxxxx>
  • From: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
  • Date: Mon, 13 Sep 2010 17:22:20 +0100
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 13 Sep 2010 09:22:56 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=AWiviJzKYF6+OVPuI3UlUN1nfl4nEHCcyGt0lMAQZRj6sCeSNJQs/jg9h9lOdpVMuq fNL/S/gKw31cT6iwGC9Hb86PBuJOKl/oI0dMIpUuIwAbAUDYBq58J7Vq4ONnGIixerzh UZN/48kupemwUZZP23V5In7CAAggTYRxigCPU=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On Fri, Sep 10, 2010 at 4:09 PM, Carlo Maiero <zesster@xxxxxxxxx> wrote:
> I've looked to the files and the "definitive" standard guide to the xen
> Hypervision,
> and i'm a bit confused.
> The standard way to exchange data makes a device_channel from domX to domY.
> so we have a page in the shared memory.
> but I've to send messages from xend to a daemon running on the same machine
> (dom0).
> maybe i've to start step by step, how can i set up the ring?

I'm afraid I really can't give you any more than what I've said already:
* Define a ring structure for the page.  (Lots of examples around the code.)
* Have Xen allocate the page.
* Have a way for your dom0 daemon to ask Xen what the mfn of the page is
* Have the daemon map the page
* Have an event channel so Xen can wake the dom0 daemon when there's
data to read

Open source projects mean coders need to be able to read and imitate
existing code, without much guidance.  We'll point you in the right
direction if we can, but you'll have to make most of the progress
yourself.

 -George

_______________________________________________
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®.