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 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Page fault for paravirtualization?

To: Jun Koi <junkoi2004@xxxxxxxxx>
Subject: Re: [Xen-devel] Page fault for paravirtualization?
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 22 Jan 2009 15:21:04 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 22 Jan 2009 07:21:25 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <fdaac4d50901220655k5ecd5d4bufac68ba1b8a94f17@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: Acl8pQo9R/dn/TZEgEiD+de4loOLEw==
Thread-topic: [Xen-devel] Page fault for paravirtualization?
User-agent: Microsoft-Entourage/12.14.0.081024
On 22/01/2009 14:55, "Jun Koi" <junkoi2004@xxxxxxxxx> wrote:

> On Thu, Jan 22, 2009 at 7:21 PM, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
> wrote:
>> We don't call paging_fault() for PV guests (unless doing live migration).
>> Paging_mode_enabled() and paging_mode_external() will both return 0.
>> 
> 
> Oops I skip that code, so missed it. Thanks!
> 
> BTW, this code in xen/arch/x86/traps.c::fixup_page_fault() looks
> suspicious: the VM_ASSIST check looks bogus. Is that dead code?

No, we only emulate pagetable writes for PV guests if the guest wants us to.

 -- Keir



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