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

[Xen-devel] xc_map_foreign_range() to Map Dom U kernel



Hi All,
           I am currently trying to map memory from Dom U to Domain 0 using the 
xc_map_foreign_range() function. I am trying to understand some of the 
arguments in xc_map_foreign_range() like int size, int prot and unsigned long 
mfn. 
 I am guessing that the value of mfn indicates the page in Dom U that I wish to 
start mapping from. The size indicates the range of pages as a multiple of Page 
Size and prot indicates Read/Write access. If this is correct,  then how do I 
get the values for these 3 arguments.  Say for instance, If I wanted to map the 
kernel running in the Dom U or even a specific process running in DOM U.?
Can someone please shed some light on it?
Thanks a lot.

Regards,
Jeet

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