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

Re: [Xen-users] domU page fault handling

Thank you Ian,

I will try with the new version of Xen and come back to you if necessary.


On Mon, 14 Jul 2014 10:02:39 +0100, Ian Campbell wrote:
On Sat, 2014-07-12 at 05:15 +0200, TCHANA Alain wrote:
Hi all,

I would like to know where (in Xen or Linux source code) a domU page
fault is treated in a Xen (version Xen 4.2).

4.2 is quite old to be asking development question of. You should look
at least at 4.4 and at mainline kernel trees.

 Is it treated by:

1) the domU operating system do_page_fault() routine, in
In this case, how does the modification of domU page tables are
possible since a domU is not allowed to update them.

These updates happen via the usual hypercall mechanisms.


2) the hypervisor do_page_fault() routine, in xen/arch/x86/traps.c.
In this case, how does the domU maintains its internal page fault

Xen will take the original h/w page fault here and, if it is for the
guest, send it onwards by injecting it into the guest.


Xen-users mailing list



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