From: "Jan Beulich" Subject: Re: [PATCH 09/17] [V3]PVH xen: create PVH vmcs, and initialization Date: Tue, 16 Apr 2013 07:56:07 +0100 Message-ID: <516D122702000078000CD740@nat28.tlf.novell.com> References: <1365814977-736-1-git-send-email-mukesh.rathor@oracle.com> <1365814977-736-10-git-send-email-mukesh.rathor@oracle.com> <516C3D4502000078000CD516@nat28.tlf.novell.com> <20130415180853.5409dcdf@mantra.us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20130415180853.5409dcdf@mantra.us.oracle.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Mukesh Rathor Cc: xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 16.04.13 at 03:08, Mukesh Rathor wrote: > On Mon, 15 Apr 2013 16:47:49 +0100 "Jan Beulich" wrote: >> > @@ -4514,6 +4591,8 @@ static int hvm_memory_event_traps(long p, >> > uint32_t reason, >> > void hvm_memory_event_cr0(unsigned long value, unsigned long old) >> > { >> > + if ( is_pvh_vcpu(current) ) >> > + return; >> >> This is temporary only, isn't it? If so, it should be clearly marked >> as such. > > I am not sure what these event calls are about, I guessed it was for > some external debugger? No, these are for paging and/or page sharing afaik. And this is functionality you definitely want for PVH guests (since it's only the PV MMU interface that prevents PV guests from having this enabled without a _lot_ of work). Jan