xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* How can I use grant table in domainU?
@ 2011-04-04 10:15 ruozeng.w
  2011-04-04 14:25 ` Konrad Rzeszutek Wilk
       [not found] ` <201104051205497648564@gmail.com>
  0 siblings, 2 replies; 8+ messages in thread
From: ruozeng.w @ 2011-04-04 10:15 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 620 bytes --]

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 

[-- Attachment #1.2: Type: text/html, Size: 1629 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-04-14 16:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-04 10:15 How can I use grant table in domainU? ruozeng.w
2011-04-04 14:25 ` Konrad Rzeszutek Wilk
     [not found] ` <201104051205497648564@gmail.com>
     [not found]   ` <20110405134423.GA6075@dumpdata.com>
     [not found]     ` <BANLkTinkrAr9cKb17skdtWdQTJ1AT63xCA@mail.gmail.com>
     [not found]       ` <20110406121510.GA5009@dumpdata.com>
     [not found]         ` <BANLkTikHJ5TtiOZOc7mdLpMqg-s4OmMBEA@mail.gmail.com>
     [not found]           ` <20110406152554.GA8253@dumpdata.com>
     [not found]             ` <BANLkTi=0fEdC8PjsWp_8rmdwybpsex1q+Q@mail.gmail.com>
2011-04-13 17:43               ` Konrad Rzeszutek Wilk
2011-04-14  2:08                 ` ruozeng wang
2011-04-14 12:22                   ` ruozeng wang
2011-04-14 13:39                     ` Konrad Rzeszutek Wilk
2011-04-14 15:58                       ` ruozeng wang
2011-04-14 16:20                         ` Re: Xend hanging Konrad Rzeszutek Wilk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).