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

[Xen-devel] Page fault for paravirtualization?

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Page fault for paravirtualization?
From: Jun Koi <junkoi2004@xxxxxxxxx>
Date: Thu, 22 Jan 2009 19:15:36 +0900
Delivery-date: Thu, 22 Jan 2009 02:16:55 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=5Z9jR4fYEfRlOo+I5UlVJIWbBKFEuM553WnHdAr+QEw=; b=hJZGg6HtUnzA2F7b+xEscXHf5dRBRMQiemUM9LyjVZQVpwblcKfTaRK4IcTpN+xGQ0 pdCKhGpQ0IqWzPtjULVl9cz97RhVX4cvfElmuoU3vBIixfequtNY9PJjR4KC4NKhFip8 BTnlXOOOxFEKTm2k1kcahg0eh7WJc0o8D8gpA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=eCVvC9CP1VyAVHe9okQKz+b7cvbteGy9OSfA3LPrm6T+nCEoY1QgWGAQm1PpTCnzzW AVPMAOZUHz5mXLjT+SCQYzBPI1fY92ltAJjr/eUXXp6pVXq5K1Rmb8QVvSdwHz9JlT3c KmsO7KTzNzwc5UeB6aLaVX0DEZgeYVipAecWk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
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

<Prev in Thread] Current Thread [Next in Thread>