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

[Xen-devel] question about mapping memory from Dom0 to domU



 Hi:
    I wanna write code about sharing memory between dom0 and domU, and I decide to use void *xc_map_foreign_range(int xc_handle, unint32_t dom, int size, int port, unsigned long mfn) (this is a function in xenctl.h).
   My question is :
   If I wanna map a range of memory in dom0 to domU, how can I get the value of mfn? and I do not know the port here.

   Can anybody help me ?
   Thanks .


                                                                Danius Wu
=========================================================
 
 
 



渊波阔宅 湖景人生
_______________________________________________
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®.