From: Keir Fraser Subject: Re: do_update_va_mapping_otherdomain() Date: Wed, 14 Mar 2007 15:54:38 +0000 Message-ID: References: <45F8054B.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <45F8054B.76E4.0078.0@novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 14/3/07 13:23, "Jan Beulich" wrote: > Isn't this hypercall broken, and should thus be removed as it is entirely > unused, or alternatively be fixed? do_update_va_mapping() completely > deals with current->domain in all respects, and guest_{,un}map_l1e() > seem to also depend on dealing with current. The hypercall is supposed to operate on the local address space, but map a foreign page. It calls mod_l1_entry() which should refer to the foreign domain when it obtains a reference to the page being mapped. -- Keir