WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] do_update_va_mapping_otherdomain()

To: Jan Beulich <jbeulich@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] do_update_va_mapping_otherdomain()
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Wed, 14 Mar 2007 15:54:38 +0000
Delivery-date: Wed, 14 Mar 2007 08:53:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45F8054B.76E4.0078.0@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcdmURHHUJG69tJEEdu8zgAX8io7RQ==
Thread-topic: [Xen-devel] do_update_va_mapping_otherdomain()
User-agent: Microsoft-Entourage/11.2.5.060620


On 14/3/07 13:23, "Jan Beulich" <jbeulich@xxxxxxxxxx> 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


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

<Prev in Thread] Current Thread [Next in Thread>