[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] How can I use grant table in domainU?


  • To: "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.