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] Daemon on XEN

To: Carlo Maiero <zesster@xxxxxxxxx>
Subject: Re: [Xen-devel] Daemon on XEN
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=k/AjF94ziyDmTRBfvbLJPJ6e2dlt/74h0Nq22mbD7Po=; b=DzQ2yHwoopcLGs5WraJvhULKU7b3ceTl3pynVi5CF8K32AW57tpaZ9YjTqD9ag9+9w 2/kbtUQ5wR3OU/q1qkcDmq3G05uVKxpdcPXTCeTnC22wyYLIDrB42nWoDPTWD5rRCgjK 5y7/AQVMCUJftJBfBM0a8TuBgaYtlBK0s5tIA=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTimWDqnvSsqByBCG9Txw=tWTv9THnjpVd8r=irpK@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTim6cfbmt2CvmccxfQ4TkG_aS0dcRsEkQnt7m5+j@xxxxxxxxxxxxxx> <AANLkTikyDF4gjwhc2Do4ne6q_siB-yZ4=bonHJ8DMxko@xxxxxxxxxxxxxx> <AANLkTimWDqnvSsqByBCG9Txw=tWTv9THnjpVd8r=irpK@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>