From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: confusion about kvm_mmu_pte_write Date: Tue, 24 Aug 2010 12:54:21 +0300 Message-ID: <4C7396CD.4020506@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: kvm To: cs-jerry** Return-path: Received: from mx1.redhat.com ([209.132.183.28]:49246 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754570Ab0HXJyn (ORCPT ); Tue, 24 Aug 2010 05:54:43 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 08/24/2010 11:16 AM, cs-jerry** wrote: > hello all, > i am reading kvm code and confused about the mmu_pte_write process, > when update a gpte, function kvm_mmu_pte_write is called , and walk t= he shadow page for it.why condition is : > if (sp->gfn !=3D gfn || sp->role.direct || sp->role.invalid) > continue; > and not update those sp->gfn =3D=3D gfn&& sp->role.direct,what does = it mean when role.direct is clear? > thanks.N=8B=A7=B2=E6=ECr=B8=9By=FA=E8=9A=D8b=B2X=AC=B6=C7=A7v=D8^=96)= =DE=BA{.n=C7+=89=B7=A4=BEh=A7=B6=17=9B=A1=DC=A8}=A9=9E=B2=C6 z=DA&j:+v=89= =A8=BE=07=AB=91=EA=E7zZ+=80=CA+zf=A3=A2=B7h=9A=88=A7~=86=AD=86=DBi=FF=FB= =E0z=B9=1E=AEw=A5=A2=B8?=99=A8=E8=AD=DA&=A2)=DF=A2=1Bfl=3D=3D=3D Please fix you mail client not to send corrupted emails. Also, read=20 Documentation/kvm/mmu.txt. --=20 error compiling committee.c: too many arguments to function