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

[Xen-devel] page fault handling in Xen


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Jonathan M. McCune" <jonmccune@xxxxxxx>
  • Date: Sat, 08 Oct 2005 18:39:52 -0400
  • Delivery-date: Sat, 08 Oct 2005 22:37:52 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hello,

We're curious about page fault handling in Xen-devel. In particular, during kernel boot-up, the kernel tests if the CPU "honours the WP bit". This causes a page fault with error code 3 (expected behavior). Does Xen still make a copy of the execution stack frame on the guest OS stack, as specified in the original "Xen and the Art of Virtualization" paper? There is a footnote here that suggests that using a pre-agreed shared memory location might be a better option. Has this change been implemented?

After the WP-test page fault is taken, what is supposed to happen from Xen's perspective on the return from the page fault handler? In normal linux, the exception handler changes its own return address (i.e., modifies the EIP register) to be the "fixup" address. Does this still happen with XenoLinux, or does the hypervisor get involved?

Thanks,
-Jon

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

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

 


Rackspace

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