| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Question on shadow_invlpg return value handling.
 HI all,
I am trying to understand the invlpg vmexit case.
In this the sh_invlpg function is called from the shadow_invlpg function and 
the 
comment explains that the sh_invlpg function returns 1 in one case and zero in
other case.But as I have seen return value from sh_invlpg is not used in 
shadow_invlpg function.
Can anyone explain me where does this return values from sh_invlpg are used.
 The comment is given below:
/* Called when the guest requests an invlpg.  Returns 1 if the invlpg
* instruction should be issued on the hardware, or 0 if it's safe not
 * to do so. */
I have followed the following path of function call in my study of the function.
vmx_vmexit_do_invlpg(va) à  shadow_invlpg(v, va) à sh_invlpg(struct vcpu *v, 
unsigned long va).
The files are given below:
shadow_invlpg àxen\include\asm-x86\shadow.h
sh_invlpg à xen\arch\x86\mm\shadow\multi.c
Specially what happens if it returns 1.
 
Thanks and  Regards,
Aditya .
                
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |