WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

Re: [Xen-devel] Execution Flow when Guest Page Fault

To: Peter Teoh <tthtlc@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Execution Flow when Guest Page Fault
From: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
Date: 2007年7月30日 10:44:55 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2007年7月30日 02:42:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <05ef01c7d1ed$c36fb2003101ドルa8c0@eeyore >
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <05ef01c7d1ed$c36fb2003101ドルa8c0@eeyore >
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006年08月11日)
At 22:35 +0800 on 29 Jul (1185748550), Peter Teoh wrote:
> I would like to know approximately the overall execution flow when the guest 
> O/S page fault - how is the page fault transfer to a page fault in the host 
> O/S?
Look at do_page_fault() -- it tries various ways of handling the
pagefault inside Xen (e.g. shadow fault handler, "writeable PT" code, or
fixing up a fault in __copy_from_guest), and if none of them works it
calls propagate_page_fault() to send the fault on to the guest.
The equivalent code for HVM domains is in the exit handlers in svm.c and
vmx.c. They only handle shadow faults, as the various xen-initiated
faults always go through do_page_fault.
Tim.
-- 
Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>, XenSource UK Limited
Registered office c/o EC2Y 5EB, UK; company number 05334508
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] compile error of HVM pv drivers , Zhao, Yunfeng
Next by Date: Re: [Xen-devel] compile error of HVM pv drivers , Keir Fraser
Previous by Thread: [Xen-devel] Execution Flow when Guest Page Fault , Peter Teoh
Next by Thread: Re: [Xen-devel] Execution Flow when Guest Page Fault , Mats Petersson
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /