From: Tim Deegan Subject: Re: some questions about the HVM Date: Fri, 26 Mar 2010 16:58:56 +0000 Message-ID: <20100326165856.GA4975@whitby.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: WangWei???? Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Hi, At 14:00 +0000 on 26 Mar (1269612028), WangWei???? wrote: > I have a question about the VMEXIT in HVM. > Does the behavior of modifying the pte of guest OS cause a vmexit. When using shadow pagetables, yes (more precisely, modifying a page that is shadowed causes a VMEXIT). When using hardware-assisted paging (NPT or EPT), no. > If so ,the vmexit reason is page fault or something else ? It's a page fault, because shadowed pages are always mapped read-only in the shadow page tables. Why do you want to know? Cheers, Tim. -- Tim Deegan Principal Software Engineer, XenServer Engineering Citrix Systems UK Ltd. (Company #02937203, SL9 0BG)