From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Deegan Subject: Re: where is writable page table implemented? Date: Mon, 24 Mar 2008 16:25:10 +0000 Message-ID: <20080324162510.GD30315@york.uk.xensource.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: weiming Cc: xen-devel List-Id: xen-devel@lists.xenproject.org At 12:18 -0400 on 24 Mar (1206361139), weiming wrote: > Hi, > > I want to read the code about the implementation of writable page table. But > I can't find it in the source codes. xen/arch/x86/mm.c, the functions after the comment "Writable Pagetables" (ptwr_*) The guest is responsible for revoking write access to its own pagetables, but that is checked by the recursive pagetable walk started by the MMUEXT_PIN_* hypercall. Cheers, Tim. -- Tim Deegan Principal Software Engineer, Citrix Systems (R&D) Ltd. [Company #02300071, SL9 0DZ, UK.]