From: "Jan Beulich" Subject: Re: [PATCH 00/11] Alternate p2m: support multiple copies of host p2m Date: Mon, 12 Jan 2015 10:00:55 +0000 Message-ID: <54B3A9670200007800053903@mail.emea.novell.com> References: <1420838801-11704-1-git-send-email-edmund.h.white@intel.com> <54B050ED.8080905@citrix.com> <54B05467.9030904@intel.com> <54B058FD.80202@citrix.com> <54B05E80.4050502@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <54B05E80.4050502@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: keir@xen.org, ian.campbell@citrix.com, Andrew Cooper , tim@xen.org, xen-devel@lists.xen.org, ian.jackson@eu.citrix.com List-Id: xen-devel@lists.xenproject.org >>> On 10.01.15 at 00:04, wrote: > On 01/09/2015 02:41 PM, Andrew Cooper wrote: >> Having some non-OS part of the guest swap the EPT tables and >> accidentally turn a DMA buffer read-only is not going to end well. >> > > The agent can certainly do bad things, and at some level you have to assume it > is sensible enough not to. However, I'm not sure this is fundamentally more > dangerous than what a privileged domain can do today using the MEMOP... > operations, and people are already using those for very similar purposes. I don't follow - how is what privileged domain can do related to the proposed changes here (which are - via VMFUNC - at least partially guest controllable, and that's also the case Andrew mentioned in his reply)? I'm having a hard time understanding how a P2M stripped of anything that's not plain RAM can be very useful to a guest. IOW without such fundamental aspects clarified I don't see a point in looking at the individual patches (which btw, according to your wording elsewhere, should have been marked RFC). Jan