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] Q on shared_mem and event_channel

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: Re: [Xen-devel] Q on shared_mem and event_channel
From: ravi kerur <rkerur@xxxxxxxxx>
Date: Tue, 8 Feb 2011 15:05:31 -0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 08 Feb 2011 15:06:27 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=mynOeBryZW5pEL5Fg/X/CK2D6fZERQtJgkNLdRxFV0A=; b=WoVAROhyZ5SKc2dv+GqQ7jbAgX5P10BpVtSj4814czXlUwEssvf59ip7tjOudum5qT fSVLKgbmbgfYUKA5IuRIb8MGwJtiL7+li3/pkmEoEuUgvEXnSFEyHLEvbFdIMsBdfY0r +ESKf9KzWbxh/nB+MC5/E8LtCCM256ipccu4g=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Pbc5TOjwjnaFurCbYt+jbXLV7Rz0XVIOPUXDcS6JgpJKJG0KhjgjsmTHVfIPQnJWAi T8PuMV5+CkwJ/5EnUxaR6qaSUoRQ25DwQpU8O213Pq4s9l6AwpwbWWKyjJuRaaHX04pB ZL0rx2Q1yd6KEO8QXzTpUyTDkE3UZl+8QbjsE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110208215741.GA8321@xxxxxxxxxxxx>
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: <AANLkTi=AyYMF3xMULLnL73LfDZArdTYYkF9D3p3E26JY@xxxxxxxxxxxxxx> <20110208215741.GA8321@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thanks Konrad, couple of q's

1. will this work with xenserver 5.6.0(citrix)? reason being, it uses /dev/xen/gntalloc and /dev/xen/gtndev  and I don't see these devices in xenserver 5.6.0 dom0 and I don't see similar devices in xenserver 5.6.0

2. I might be able to use this functionality in conjunction with socket calls, do you see any reason not to do it? Basically in my case I want to have shared_mem/evt_chn setup either during bootup of dom0/domU's or when my application is started.

Thanks
-Ravi

On Tue, Feb 8, 2011 at 1:57 PM, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> wrote:
On Tue, Feb 08, 2011 at 01:34:48PM -0800, ravi kerur wrote:
> Hello,
>
> I think this might have been discussed numerous times on this mailing-list,
> if there is a relevant post I can refer to please point that to me. What I
> am trying to do is set up a shared memory/event-channels between dom0 and
> domU's via socket calls because I cannot use existing front-end/back-end
> driver mechanism since it relies on devices aka vif, vbd type of device to
> be created and uses xenbus/xenstored for communication between domains.
> Adding support for new device similar to vif/vbd may require xapi changes as
> well which I would like to avoid. Instead write own socket library calls aka
> bind/connect and use them to setup shared memory and event channels between
> domains. I haven't sketched out details yet, but thought of checking if this
> would be feasible.

Like this:
http://www.gossamer-threads.com/lists/xen/devel/197987
?

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>