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] Page fault for paravirtualization?

To: Jun Koi <junkoi2004@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Page fault for paravirtualization?
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: 2009年1月22日 10:21:28 +0000
Cc:
Delivery-date: 2009年1月22日 02:21:27 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <fdaac4d50901220215g9ab003akb397e0a7a981adf@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acl8ey+1Ye5bpoxTdUKCaJBdLc/6tw==
Thread-topic: [Xen-devel] Page fault for paravirtualization?
User-agent: Microsoft-Entourage/12.15.0.081119
We don't call paging_fault() for PV guests (unless doing live migration).
Paging_mode_enabled() and paging_mode_external() will both return 0.
 -- Keir
On 22/01/2009 10:15, "Jun Koi" <junkoi2004@xxxxxxxxx> wrote:
> Hi,
>
> I am trying to understand how Xen handle pagefault for
> paravirtialization VM on x86.
>
> In xen/arch/x86/traps.c, do_page_fault() calls fixup_page_fault(),
> which calls paging_fault(). Then paging_fault() calls
> v->arch.paging.mode->page_fault() in include/asm-x86/paging.h
>
> However, I dont see where in the code we assign v->arch.paging.mode
> for PV domain. I grep around for many possible words, but didnt see
> anything interesting.
>
> Anybody please help?
>
> Thanks a lot,
> Jun
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel 
_______________________________________________
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] Page fault for paravirtualization? , Jun Koi
Next by Date: RE: [PATCH 1/4][Xen-devel] X86 microcode: cancel redundant input parameter of microcode functions , Liu, Jinsong
Previous by Thread: [Xen-devel] Page fault for paravirtualization? , Jun Koi
Next by Thread: Re: [Xen-devel] Page fault for paravirtualization? , Jun Koi
Indexes: [Date] [Thread] [Top] [All Lists]

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

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