From: Herbert Xu Subject: Should shadow_fault_fast_fail abort? Date: Fri, 15 Dec 2006 15:42:19 +1100 Message-ID: <20061215044219.GA10612@gondor.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline 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 , Xen Development Mailing List List-Id: xen-devel@lists.xenproject.org Hi Tim: I noticed your recent patch turned off PFEC_reserved_bit in case another CPU had already modified a magic PTE. It seems that it still leaves PFEC_page_present enabled. This could confuse the guest if the PTE modification is such that the PTE is now present and valid. In fact the guest may treat it as a protection fault. You could turn the present bit off, but that is not strictly correct if say an MMIO va was reused for normal memory. The safest solution is probably to just return EXCRET_fault_fixed and let the CPU figure it out. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt