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

Re: [Xen-devel] the code about guest OS registering a page with Xen

At 17:25 -0400 on 18 Mar (1363627541), ?????? wrote:
> hi, all,
> I read this sentence.
> Guest OSes are responsible for allocating and initializing PTs for
> processes (restricted to read only access)
> allocates and initialize a page and register it with Xen to serve as the
> new PT
> Can any one teach me where is the code about registering a page with Xen in
> Xen's code?

The API is in xen/include/public/xen.h, in particular HYPERVISOR_mmu_update,
HYPERVISOR_mmuext_op and HYPERVISOR_update_va_mapping.

For examples of how to use it, grep your favourite Xen-aware kernel's
sources, or have a look at extras/mini-os/arch/x86/mm.c


Xen-devel mailing list



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