From: aditya shevalkar <aditya27783@yahoo.co.in>
To: xen devel <xen-devel@lists.xensource.com>
Subject: Question on shadow_invlpg return value handling.
Date: Tue, 27 Mar 2007 10:21:56 +0530 (IST) [thread overview]
Message-ID: <604922.39574.qm@web8705.mail.in.yahoo.com> (raw)
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/
next reply other threads:[~2007-03-27 4:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-27 4:51 aditya shevalkar [this message]
2007-03-27 8:32 ` Question on shadow_invlpg return value handling Tim Deegan
-- strict thread matches above, loose matches on Subject: below --
2007-03-27 10:19 jeet
2007-03-27 10:29 ` Tim Deegan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=604922.39574.qm@web8705.mail.in.yahoo.com \
--to=aditya27783@yahoo.co.in \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.