[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] shadow OOS and fast path are incompatible


  • To: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
  • From: Gianluca Guida <gianluca.guida@xxxxxxxxxxxxx>
  • Date: Fri, 3 Jul 2009 11:20:21 +0200
  • Cc: Frank van der Linden <Frank.Vanderlinden@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 03 Jul 2009 02:20:53 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=Owjpxh8+Qi1scIEgkcTHI3vsPvGbuNOiF2VIF0pC7S9GNWAgBfGIq7VE4MADwo1NTp y6Ej23TAA91xuiDOJN72qGU7HEtgkWy9iC4ajXyJ+C8FnHFu6/Zm3FqgX5l5XP1N2XYH 0vh4kvN3pCR3nFw59BvCaXvarTdfv9kr1Uk9o=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

About the read-only MMIO,

On Fri, Jul 3, 2009 at 10:50 AM, Tim Deegan<Tim.Deegan@xxxxxxxxxx> wrote:
> Yes.  The fast-not-present path is safe without OOS because the changing
> L1 would have to be as a result of the guest writing it, which is a race
> on real hardware.   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

-- 
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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.