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

Re: [Xen-devel] Essay on an important Xen decision (long)

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



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