From: Gianluca Guida Subject: Re: shadow OOS and fast path are incompatible Date: Fri, 3 Jul 2009 11:20:21 +0200 Message-ID: References: <4A4D18DE.6070306@Sun.COM> <20090703085017.GU16056@york.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20090703085017.GU16056@york.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Tim Deegan Cc: Frank van der Linden , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org About the read-only MMIO, On Fri, Jul 3, 2009 at 10:50 AM, Tim Deegan wrote: > Yes. =A0The fast-not-present path is safe without OOS because the changin= g > L1 would have to be as a result of the guest writing it, which is a race > on real hardware. =A0 The fast-MMIO path is OK even with OOS because it > only caches present entries, but for proper safety we might want to > avoid using fast-path MMIO if the guest maps MMIO space read-only (does > anyone actually do that?) That is still correct. The fast path gets only the gfn + offset and pass it to the mmio handling code, that will check the permission by using proper locks. Gianluca --=20 It was a type of people I did not know, I found them very strange and they did not inspire confidence at all. Later I learned that I had been introduced to electronic engineers. E. W. Dijkstra