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

Re: [Xen-devel] [V4 PATCH 6/7] pvh dom0: Add and remove foreign pages



On Tue, 3 Dec 2013, Mukesh Rathor wrote:
> On Wed, 04 Dec 2013 00:00:54 +0000
> Julien Grall <julien.grall@xxxxxxxxxx> wrote:
> 
> > 
> > 
> > On 12/03/2013 02:30 AM, Mukesh Rathor wrote:
> > > In this patch, a new function, xenmem_add_foreign_to_pmap(), is
> > > added
> > 
> > xenmem_add_foreign_to_p2m?
> > 
> > > to map pages from foreign guest into current dom0 for domU creation.
> > > Such pages are typed p2m_map_foreign. Also, support is added here to
> > > XENMEM_remove_from_physmap to remove such pages. Note, in the remove
> > > path, we must release the refcount that was taken during the map
> > > phase.
> > 
> > Your remove path is very interesting for the ARM port. For now we are 
> > unable to unmap the foreign page because get_page() will always
> > return NULL (as dom0 is not the owner).
> > 
> > I will give a try on ARM to see if it could resolve our problem.
> > 
> 
> Don't know much about ARM, is the remove path failing to compile on it?
> You can submit ARM modification patch after it's checked in?

This patch is against Xen common code, therefore if you introduce
any x86-only functions, you are going to break the ARM build.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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