[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Contiguous DMAble memory in Dom0 user space linux process
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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |