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/
Home Products Support Community News


Re: [Xen-devel] Re: sharing memory between dom0 and domU

To: eli <eli@xxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: sharing memory between dom0 and domU
From: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Date: Mon, 27 Jun 2011 12:14:30 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 27 Jun 2011 04:15:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110627105751.GA24594@mtldesk30>
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: <1309088811335-4525597.post@xxxxxxxxxxxxx> <20110627084841.GF17634@xxxxxxxxxxxxxxxxxxxxxxx> <20110627105751.GA24594@mtldesk30>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.21 (2010-09-15)
At 03:54 -0700 on 27 Jun (1309146866), eli wrote:
> On Mon, Jun 27, 2011 at 01:51:10AM -0700, Tim Deegan-4 [via Xen] wrote:
> > 
> > What you need is the grant-table mechanism; I believe that using the
> > gntdev code you can even do it from user-space.
> > 
> Thanks Tim. I only need this for kernel space. Does it mean that I
> don't need "gntdev" for that? Can you give a pointer to some usage
> case or just tell what APIs are involved?

If you're in linux, have a look at the blkfront and blkback drivers for
examples of how to use them.  The linux interface is in


Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Principal Software Engineer, Xen Platform Team
Citrix Systems UK Ltd.  (Company #02937203, SL9 0BG)

Xen-devel mailing list

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