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

[Xen-devel] Passing a grant reference to another domain!

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Passing a grant reference to another domain!
From: "Jayaraman, Bhaskar" <Bhaskar.Jayaraman@xxxxxxx>
Date: Tue, 19 Aug 2008 03:27:32 +0800
Accept-language: en-US
Acceptlanguage: en-US
Delivery-date: Mon, 18 Aug 2008 12:28:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AQHJAWhyGU1llS2MeUWli3QNAjpqQA==
Thread-topic: Passing a grant reference to another domain!
Hi can anyone point me to the code which passes grant reference between 
domains? In Mini-OS it doesn't seem to be used and I'm a little clueless where 
to look for passing of reference.
I am aware of the way a grant table is mapped, how to use the ring buffer once 
you map the shared memory page into your domain using the reference and the 
domain id, and how to read and write into the xenstored database. However, I'm 
struggling to understand how we pass the grant reference to a particular domain 
once you share a page after setting necessary access permissions on the page.

Regards,
Bhaskar.

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