From: "Jan Beulich" Subject: Re: [PATCH v4 03/15] VMX: implement suppress #VE. Date: Fri, 10 Jul 2015 10:09:31 +0100 Message-ID: <559FA7EB020000780008F4BD@mail.emea.novell.com> References: <1436489553-6300-1-git-send-email-edmund.h.white@intel.com> <1436489553-6300-4-git-send-email-edmund.h.white@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1436489553-6300-4-git-send-email-edmund.h.white@intel.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: Ed White Cc: Tim Deegan , Ravi Sahita , Wei Liu , George Dunlap , Andrew Cooper , Ian Jackson , xen-devel@lists.xen.org, tlengyel@novetta.com, Daniel De Graaf List-Id: xen-devel@lists.xenproject.org >>> On 10.07.15 at 02:52, wrote: > @@ -1134,6 +1151,13 @@ int ept_p2m_init(struct p2m_domain *p2m) > p2m->flush_hardware_cached_dirty = ept_flush_pml_buffers; > } > > + table = map_domain_page(pagetable_get_pfn(p2m_get_pagetable(p2m))); > + > + for ( i = 0; i < EPT_PAGETABLE_ENTRIES; i++ ) > + table[i].suppress_ve = 1; > + > + unmap_domain_page(table); See my comments/questions on v3. I find it irritating for new patch versions to be sent without addressing comments on the previous one (verbally or by adjusting code). Jan