From: Tim Deegan Subject: Re: Intercepting memory operations of a guest Date: Tue, 9 Dec 2008 10:09:11 +0000 Message-ID: <20081209100911.GA460@york.uk.xensource.com> References: <20081208101217.GQ25331@york.uk.xensource.com> <97E3D7A472E04436BB0AAD8EEC86CD6A@neutrino> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Return-path: Content-Disposition: inline In-Reply-To: <97E3D7A472E04436BB0AAD8EEC86CD6A@neutrino> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Sina Bahram Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi, At 11:54 -0500 on 08 Dec (1228737297), Sina Bahram wrote: > What do you mean by the statement that it won't catch "all changes" but only > those seen by the mmu? You might not see changes made before a pagetable is used for the first time, or after it stops being used. Potentially you might miss other changes as well. But you are guaranteed that if any pagetable state is ever seen by the hardware, (that is, used in a VA->PA translation) you will have seen that state first. > Also, where can I read more about what enabling shadow page tables means for > pv guests? Not much documentation, I'm afraid. The source code has some comments in it (xen/arch/x86/mm/shadow/*) and there's always the live-migration paper for an overview, though implementation details there are quite out of date: http://www.cl.cam.ac.uk/research/srg/netos/papers/2005-nsdi-migration.pdf Cheers, Tim. -- Tim Deegan Principal Software Engineer, Citrix Systems (R&D) Ltd. [Company #02300071, SL9 0DZ, UK.]