From: Razvan Cojocaru <rzvncj@gmail.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: "xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: RIP register value in p2m_mem_access_check()
Date: Wed, 06 Mar 2013 13:35:04 +0200 [thread overview]
Message-ID: <513729E8.2060007@gmail.com> (raw)
In-Reply-To: <5137335602000078000C3815@nat28.tlf.novell.com>
> v->arch.user_regs.eip is what you should look at. It's
> expected to be in sync with the VMCS value as long as
> nothing (e.g. emulation) modified the value. There's code in
> vmx_asm_vmexit_handler to sync the fields, and in
> vmx_asm_do_vmentry to sync them back in the opposite
> direction.
Thank you for your answer. Isn't it possible that emulation is indeed
involved, since in p2m_mem_access_check() a page fault has occured, and
RIP might point to _after_ the offending instruction?
Thanks,
Razvan Cojocaru
next prev parent reply other threads:[~2013-03-06 11:35 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-06 10:55 RIP register value in p2m_mem_access_check() Razvan Cojocaru
2013-03-06 11:15 ` Jan Beulich
2013-03-06 11:35 ` Razvan Cojocaru [this message]
2013-03-06 13:22 ` Jan Beulich
2013-03-06 13:25 ` Razvan Cojocaru
2013-03-06 13:49 ` Razvan Cojocaru
2013-03-06 14:26 ` Razvan Cojocaru
2013-03-06 14:33 ` Jan Beulich
2013-03-06 14:47 ` Razvan Cojocaru
2013-03-07 16:49 ` Tim Deegan
2013-03-07 17:04 ` Jan Beulich
2013-03-07 17:31 ` Razvan Cojocaru
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=513729E8.2060007@gmail.com \
--to=rzvncj@gmail.com \
--cc=JBeulich@suse.com \
--cc=xen-devel@lists.xen.org \
/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.