From mboxrd@z Thu Jan 1 00:00:00 1970 From: aditya shevalkar Subject: Question on shadow_invlpg return value handling. Date: Tue, 27 Mar 2007 10:21:56 +0530 (IST) Message-ID: <604922.39574.qm@web8705.mail.in.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen devel List-Id: xen-devel@lists.xenproject.org HI all,=0AI am trying to understand the invlpg vmexit case.=0AIn this the s= h_invlpg function is called from the shadow_invlpg function and the =0Acomm= ent explains that the sh_invlpg function returns 1 in one case and zero in= =0Aother case.But as I have seen return value from sh_invlpg is not used in= =0Ashadow_invlpg function.=0ACan anyone explain me where does this return = values from sh_invlpg are used.=0A The comment is given below:=0A/* Called = when the guest requests an invlpg. Returns 1 if the invlpg=0A* instruction= should be issued on the hardware, or 0 if it's safe not=0A * to do so. */= =0AI have followed the following path of function call in my study of the f= unction.=0Avmx_vmexit_do_invlpg(va) =E0 shadow_invlpg(v, va) =E0 sh_invlpg= (struct vcpu *v, unsigned long va).=0AThe files are given below:=0Ashadow_i= nvlpg =E0xen\include\asm-x86\shadow.h=0Ash_invlpg =E0 xen\arch\x86\mm\shado= w\multi.c=0ASpecially what happens if it returns 1.=0A =0AThanks and Regar= ds,=0AAditya .=0A=0A=0A=09=09=0A___________________________________________= _______________=0AYahoo! India Answers: Share what you know. Learn somethin= g new=0Ahttp://in.answers.yahoo.com/