xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Contiguous DMAble memory in Dom0 user space linux process
@ 2010-01-13 21:03 Kashmira. K.
  2010-01-13 21:31 ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 6+ messages in thread
From: Kashmira. K. @ 2010-01-13 21:03 UTC (permalink / raw)
  To: xen-devel; +Cc: winterfi

Hello Xen experts,

I am trying to get contiguous DMAble memory in user space application which is a processes running on xen capable Linux.

I thought I could use xen_create_contiguous_region(), but it appears that is for linux kernel modules. 

I need to get about 500MB of contiguous DMAble memory in my application. This application will run in Dom0. This memory is not to be shared between Domains.

Is it possible to use the  HYPERVISOR_grant_table_op hypercall passing GMTTABOP_map_grant_ref as command to achieve this. If so, to use this hypercall the grant reference is required. How do I get the grant reference?  Would appreciate if I can get an example code or pointer to one to clearly understand how to achieve this.

If you have any other suggestion of a better way to get contiguous memory in user space app in Dom0, I am open to that.

On a different note, where can I get detailed hypercall reference guide.  Most palaces I've searched have a list of hypercalls but not the description of each of the commands of arguments of the hypercall. 

Thanks in advance.

Regards
Kashmira

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

end of thread, other threads:[~2010-01-20 21:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-13 21:03 Contiguous DMAble memory in Dom0 user space linux process Kashmira. K.
2010-01-13 21:31 ` Konrad Rzeszutek Wilk
2010-01-15  2:16   ` Kashmira. K.
2010-01-15 16:59     ` Konrad Rzeszutek Wilk
2010-01-20 21:10       ` Kashmira. K.
2010-01-20 21:42         ` 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).