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] How can I use grant table in domainU?

To: "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] How can I use grant table in domainU?
From: "ruozeng.w" <ruozeng.w@xxxxxxxxx>
Date: Mon, 4 Apr 2011 18:15:22 +0800
Delivery-date: Mon, 04 Apr 2011 03:15:58 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:subject:message-id:x-mailer :mime-version:content-type; bh=lfM2TylS1qCNyOUSR6CnGMc+XyDnwnPqQ06eOb6MAHk=; b=Pa+4tDc1Cs2kWotEm+XXcPOndBdeVSXWsprSN2PiGG6PU74Wm2bQm31PTjiKTUdzpa y45tX0+PNA+rVKR4Cp9GRXFxheEGFVoMlCpY5O16f73lQ/0Du6of6RtZtWQba2ekvBX5 5pQ7vkTuSB1k/Hqq+VPVrN0zk1P8utmew4eac=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:x-mailer:mime-version:content-type; b=YF57uVGPJzZtDNa2YRBh3kVi8hgriUXlqCxk1l3AhgKxfa8ag0DW0i1eiunWJP6q55 MNX+8ue4Lcc3iYuTYEKy7ZyYRsChhadV+LyTs0Br4/Vw9v0tk4p2SjO3EtJuk8jeOi+g Dq5gSV45fwATPLKlD7ZznCR4Jot7Q8w0hnCqc=
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
Can applications runs in domainU use grant table?
 
I found a way in the document(/docs/misc/grant-tables.txt), using function gnttab_grant_foreign_access . But, this fucntion is defined in domainU kernel, for example, in my installation, it's in /linux-2.6.18-xen.hg/include/xen/gnttab.h.
 
Then how can I call this function in my own application?
If I wants to write a simple program(program1) runs in domainA, to map a frame to domainB, in which another simple program(program2) is running, then program2 can read the information program1 sent to domainB, what should I do?
 
thanks.
 
2011-04-04

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