From: Tim Deegan Subject: Re: [PATCH 07/11] x86/altp2m: introduce p2m_ram_rw_ve type. Date: Thu, 15 Jan 2015 18:03:44 +0100 Message-ID: <20150115170344.GG57240@deinos.phlegethon.org> References: <1420838801-11704-1-git-send-email-edmund.h.white@intel.com> <1420838801-11704-8-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: Content-Disposition: inline In-Reply-To: <1420838801-11704-8-git-send-email-edmund.h.white@intel.com> 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: keir@xen.org, ian.jackson@eu.citrix.com, ian.campbell@citrix.com, jbeulich@suse.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org At 13:26 -0800 on 09 Jan (1420806397), Ed White wrote: > This is treated exactly like p2m_ram_rw, except that suppress_ve is not > set in the EPTE. I don't think this is going to work -- you probably want to support p2m_ram_ro at least, and maybe other types, but duplicating each of them as a 'type foo with #VE' doesn't seem right. Since the default is to set the ignore-#ve flag everywhere, how about having an operation to enable #ve for a frame that just clears that bit, and then having all other updates to altp2m entries preserve it? Cheers, Tim.