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

Re: [Xen-devel] [V2 PATCH 6/8] PVH dom0: Introduce p2m_map_foreign

On 11/26/2013 04:11 PM, Ian Campbell wrote:
On Tue, 2013-11-26 at 16:00 +0000, George Dunlap wrote:
On Sat, Nov 23, 2013 at 12:03 AM, Mukesh Rathor
<mukesh.rathor@xxxxxxxxxx> wrote:
In this patch, a new type p2m_map_foreign is introduced for pages
that toolstack on PVH dom0 maps from foreign domains that its creating
or supporting during it's run time.

Signed-off-by: Mukesh Rathor <mukesh.rathor@xxxxxxxxxx>

Why is this needed?  Does ARM have a concept of p2m_map_foreign?  grep
doesn't turn it up... how does ARM dom0 deal with foreign mappings,
and is there a reason we can't copy their approach?

The p2m types are currently per-arch. ARM doesn't currently have much in
the way of the concept of such things, but it should eventually and
foreign map seems likely to be one of them.

Oh, right -- I see now; the interface Mukesh is implementing -- XENMAPSPACE_gmfn_foreign and XENMEM_add_to_physmap_range -- is basically the same as the ARM dom0 interface.

That's an important piece of information.


Xen-devel mailing list



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