From: weiming Subject: how page faults are handled in paravirtualized xen guests? Date: Sat, 8 Mar 2008 20:50:55 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1776596021==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xen Developers List-Id: xen-devel@lists.xenproject.org --===============1776596021== Content-Type: multipart/alternative; boundary="----=_Part_325_19183802.1205027455998" ------=_Part_325_19183802.1205027455998 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I got contradicted information about the path of page fault handling under para-virtualized linux: 1) From some web resources: page fault interruption is trapped by xen hypervisor and it then dispatches to corresponding guest OS 2) From the book "a definitive guide to xen hypervisor": when a guest is scheduled to run by hypervisor, hypervisor installes the guest's IDT (except for special interrupts like timer) to CPU. So almost all interrupts are handled by guest OS directly, bypassing the xen hypervisor. Which one is correct? (My guess is second one because it's more efficient) Thanks Weiming ------=_Part_325_19183802.1205027455998 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,

I got contradicted information about the path of page fault handling under para-virtualized linux:

1) From some web resources: page fault interruption is trapped by xen hypervisor and it then dispatches to corresponding guest OS
2) From the book "a definitive guide to xen hypervisor": when a guest is scheduled to run by hypervisor, hypervisor installes the guest's IDT (except for special interrupts like timer) to CPU. So almost all interrupts are handled by guest OS directly, bypassing the xen hypervisor.

Which one is correct? (My guess is second one because it's more efficient)

Thanks
Weiming
------=_Part_325_19183802.1205027455998-- --===============1776596021== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1776596021==--