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

[Xen-devel] Contiguous DMAble memory in Dom0 user space linux process


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Kashmira. K." <chimnee@xxxxxxxxx>
  • Date: Wed, 13 Jan 2010 13:03:39 -0800 (PST)
  • Cc: winterfi@xxxxxxxxx
  • Delivery-date: Wed, 13 Jan 2010 13:04:16 -0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=LZGv7highEiIIqml3LCyM423btVpxvxPcyDWRamYmEYcBXPYcdV7CXxWEc5lmHKvnqz/pryRoFZN16g+mlk6i1Lmx/83CeRwZl9SgqhzRaP3dXN6A4Ox1EcC/p3iP9dunH3HzXWgMB+Qdm+jjZql5al3rEchN54yYgQ+/3znO8o=;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


      

_______________________________________________
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®.