|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [V2 PATCH 7/8] pvh dom0: Add and remove foreign pages
On 11/25/2013 04:03 AM, Jan Beulich wrote: On 23.11.13 at 01:03, Mukesh Rathor <mukesh.rathor@xxxxxxxxxx> wrote: Yes, this should be an XSM call; it needs to explicitly check if currd has the right to access pages from fdom. For efficiency, rather than checking permissions here for each page, check once in xenmem_add_to_physmap_range or next to the existing check in arch_memory_op; in that case, combining the two checks into one as is done for xsm_mmu_update may be preferred. Moving the other EINVAL checks in addition could also be useful, although that requires duplicating them in xenmem_add_to_physmap. -- Daniel De Graaf National Security Agency _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |