From: Tim Deegan Subject: Re: [PATCH] nested EPT: fixing wrong handling for L2 guest's direct mmio access Date: Fri, 17 Jan 2014 14:16:07 +0100 Message-ID: <20140117131607.GB59786@deinos.phlegethon.org> References: <1389940508-2239-1-git-send-email-yang.z.zhang@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: <1389940508-2239-1-git-send-email-yang.z.zhang@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: Yang Zhang Cc: JBeulich@suse.com, andrew.cooper3@citrix.com, eddie.dong@intel.com, xen-devel@lists.xen.org, jun.nakajima@intel.com, xiantao.zhang@intel.com List-Id: xen-devel@lists.xenproject.org At 14:35 +0800 on 17 Jan (1389965708), Yang Zhang wrote: > From: Yang Zhang > > L2 guest will access the physical device directly(nested VT-d). For such access, > Shadow EPT table should point to device's MMIO. But in current logic, L0 doesn't > distinguish the MMIO whether from qemu or physical device when building shadow EPT table. > This is wrong. This patch will setup the correct shadow EPT table for such MMIO ranges. > > Signed-off-by: Yang Zhang Acked-by: Tim Deegan