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] Essay on an important Xen decision (long)

To: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Essay on an important Xen decision (long)
From: Hollis Blanchard <hollisb@xxxxxxxxxx>
Date: Wed, 11 Jan 2006 15:16:35 -0600
Cc: "Magenheimer, Dan \(HP Labs Fort Collins\)" <dan.magenheimer@xxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 11 Jan 2006 21:23:12 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200601111622.31835.mark.williamson@xxxxxxxxxxxx>
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>
Organization: IBM Linux Technology Center
References: <516F50407E01324991DD6D07B0531AD59030F8@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <ca704ea5ca30b98dca4508cd6bfdf581@xxxxxxxxxxxx> <43C53164.2070308@xxxxxxxxxx> <200601111622.31835.mark.williamson@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, 2006-01-11 at 16:22 +0000, Mark Williamson wrote:
> IIRC, PPC also performs P-to-M translations in the hypervisor, but I vaguely 
> recall that happening during an explicit pagetable update hypercall - kind of 
> a middle road between the x86 and IA64 approaches...  Some PPC guy may jump 
> in and correct me at this point, though ;-)

It's pretty simple: for Xen/x86, the kernel does translation and the
hypervisor does validation. For PAPR on PPC hardware, the hypervisor
does both translation and validation.

This is done for every mapping hcall: the domain makes an hcall to map
physical address P, and the hypervisor translates to machine address M
and allows or rejects the request.

Page fault exceptions are delivered by the processor to the domain (not
the hypervisor), which reacts by making a mapping hcall.

-- 
Hollis Blanchard
IBM Linux Technology Center


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

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