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

Re: [Xen-ia64-devel] Question: map domU mem in dom0



On Thu, Mar 08, 2007 at 12:31:34PM +0100, Dietmar Hahn wrote:
> Hi,
> 
> is there a simple way to map a bigger part or all of the domU memory into 
> dom0 driver address space?
> I'am looking for a function like xc_map_foreign_range() in libxc just for 
> drivers.
> Thanks.

1. allocate pseudo physical address range by xen_ia64_alloate_resource.
2. then use HYPERVISOR_add_physmap_with_gmfn().
3. use xen_ia64_unmap_resource() to unmap.

This is ia64 specific and I'm not sure whether this is simple
for you, though

-- 
yamahata

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.