Mailing List Archive

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@lists.xensource.com
http://lists.xensource.com/xen-devel