All of lore.kernel.org
 help / color / mirror / Atom feed
From: "ruozeng.w" <ruozeng.w@gmail.com>
To: xen-devel <xen-devel@lists.xensource.com>
Subject: How can I use grant table in domainU?
Date: Mon, 4 Apr 2011 18:15:22 +0800	[thread overview]
Message-ID: <201104041815185384477@gmail.com> (raw)


[-- 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

             reply	other threads:[~2011-04-04 10:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-04 10:15 ruozeng.w [this message]
2011-04-04 14:25 ` How can I use grant table in domainU? 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201104041815185384477@gmail.com \
    --to=ruozeng.w@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.