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: Fwd: [Xen-devel] Inter-domain shared memory facility in Xen?

To: "Derek Murray" <Derek.Murray@xxxxxxxxxxxx>
Subject: Re: Fwd: [Xen-devel] Inter-domain shared memory facility in Xen?
From: "David Stone" <unclestoner@xxxxxxxxx>
Date: Thu, 1 Nov 2007 11:31:16 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, takebe_akio@xxxxxxxxxxxxxx
Delivery-date: Thu, 01 Nov 2007 08:31:57 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Bh4fu302tH+pbpyb1dlPU+UdoFLwwYfh2QTqp7/5R1g=; b=BbOfSnxoVL6AZmgEt2KkDCQKnm+wVrITeBRGSjdFZiDOI1ZKvStPbzqzwAFEP+e6kDyi4mHju0rIlDDURV36/m9Csi+5P+cqgMAc+B+wxkqct/OHxkqliOLMyVicgyVJSiGva1xAON4QYVrKtjwJpxRdBZAw0Sy/I32mT0rnhkY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NN38t1iFbsDzVx91bdoptcmeChlgCWFn4bjQQXz8WkAP4f1CajNTC7BUj5S2WHPI6x+4DqJJTfZrFjXOjwTBYpVupXoNH2BVcrbwFlFtDSmyXT9qKigK199SEsjISP6W8tzUidqGuF450IQHhLMegFJk/rmdGJnNWYofpUmV0sk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4729DFCB.8000204@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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1a74a8410710301251o2a317b0bj40362bfd3b6070b4@xxxxxxxxxxxxxx> <D9C81B72AA2D6Btakebe_akio@xxxxxxxxxxxxxx> <ab08258e0710302324g1808a751mf500d001bd48cda9@xxxxxxxxxxxxxx> <E0C81B8F8A8064takebe_akio@xxxxxxxxxxxxxx> <1a74a8410711010639s46aada5l2acde76cb73eac3b@xxxxxxxxxxxxxx> <1a74a8410711010640t5698e14an1c2b9e36c0cfd966@xxxxxxxxxxxxxx> <4729DFCB.8000204@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thanks guys, I'm clear now.

On Nov 1, 2007 10:16 AM, Derek Murray <Derek.Murray@xxxxxxxxxxxx> wrote:
> David Stone wrote:
> > Thanks for your help on this.  So based on your responses I just want
> > to confirm my understanding is correct...is it true that:
> >
> > 1. It is currently possible to establish shared memory between Dom0
> > and DomU, but
> > 2. It is currently not possible to establish shared memory between two
> > DomUs in an released Xen versions, nor the current xen-unstable branch
> > nor any other branch on http://xenbits.xensource.org.  There are
> > projects that address this that you mentioned though.
>
> It *is* possible to establish shared memory between two DomUs, using the
> grant table mechanism. At present, it is only possible to grant access
> to memory from a VM kernel, but it is possible to map that granted
> memory into either the kernel (using the kernel wrappers to the
> necessary hypercalls) or user-space (using gntdev, the user-space
> granted memory driver).
>
> Up to and including the current stable release (3.1.1), it is only
> possible for domains that have I/O memory permissions (typically only
> Dom0) to map granted pages. Therefore, it is necessary to give some
> dummy permissions to any domain that you want to allow to map grants.
> However, the issue that led to this restriction has been fixed in the
> current version of xen-unstable.
>
> As I understand it, the other projects that were mentioned provide a
> socket-like communication mechanism for Xen, with the advantage that
> they do not (necessarily) use the networking stack. I presume that you
> are looking for something simpler, such as creating a shared data
> structure between two or more domains. In that case, the mechanisms that
>  exist in Xen today and that I have described above are sufficient for
> your needs.
>
> Regards,
>
> Derek Murray.
>

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

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