From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xiao Guangrong Subject: Re: [PATCH 1/2] KVM: test: add the test case to check PFEC on prefetch pte path Date: Wed, 05 Jan 2011 10:48:39 +0800 Message-ID: <4D23DC07.9040202@cn.fujitsu.com> References: <4D1303FC.9070404@cn.fujitsu.com> <4D21E72B.9020907@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , KVM To: Avi Kivity Return-path: Received: from cn.fujitsu.com ([222.73.24.84]:49299 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1750911Ab1ADCsd (ORCPT ); Mon, 3 Jan 2011 21:48:33 -0500 In-Reply-To: <4D21E72B.9020907@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 01/03/2011 11:11 PM, Avi Kivity wrote: > On 12/23/2010 10:10 AM, Xiao Guangrong wrote: >> Check page fault error code on prefetch pte path >> > > Can you point out the commit which fixed this failure? I'd like to backport it if it's simple enough. > The commit is 3ddf6c06e13e: commit 3ddf6c06e13ef7842e58815d28ec88faae19c8db Author: Xiao Guangrong Date: Wed Nov 17 12:11:41 2010 +0800 KVM: MMU: don't mark spte notrap if reserved bit set If reserved bit is set, we need inject the #PF with PFEC.RSVD=1, but shadow_notrap_nonpresent_pte injects #PF with PFEC.RSVD=0 only Signed-off-by: Xiao Guangrong Signed-off-by: Marcelo Tosatti