From: Tim Deegan Subject: Re: [v3][PATCH 1/1] xen:vtd: missing RMRR mapping while share EPT Date: Fri, 25 Jul 2014 14:22:48 +0200 Message-ID: <20140725122248.GA36300@deinos.phlegethon.org> References: <1406199618-21574-1-git-send-email-tiejun.chen@intel.com> <20140724111143.GF1817@deinos.phlegethon.org> <53D0ED1B.80107@intel.com> <20140724113528.GD1821@deinos.phlegethon.org> <53D0F328.80902@intel.com> <53D1154A0200007800025857@mail.emea.novell.com> <53D1FDD8.7020002@intel.com> <53D21E4F0200007800025CD7@mail.emea.novell.com> <53D20D01.2070806@intel.com> <53D22B190200007800025D99@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <53D22B190200007800025D99@mail.emea.novell.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: Jan Beulich Cc: yang.z.zhang@intel.com, Tiejun Chen , kevin.tian@intel.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org At 09:02 +0100 on 25 Jul (1406275321), Jan Beulich wrote: > >>> On 25.07.14 at 09:53, wrote: > > Such this kind of problem just happens in shared EPT case, right? In > > non-shared EPT case, we don't create these EPT tables to override other > > EPTs, so its okay? > > At least I think/hope it is okay in the non-shared case - there's still > the problem of the two translation tables not being consistent with > one another, but I can't currently see problems arising from that. It's _not_ OK in the non-shared case: if a guest has RAM at that address and uses a passed-through device to DMA to it, the DMA will end up in the RMRR area. Add we know that this guest has at least one passed-through device. :P Tim.