All of lore.kernel.org
 help / color / mirror / Atom feed
From: Razvan Cojocaru <rzvncj@gmail.com>
To: xen-devel@lists.xen.org
Subject: Hvm_emulate_one() and guest_cpu_user_regs()->eip
Date: Thu, 17 Oct 2013 09:50:10 +0300	[thread overview]
Message-ID: <525F88A2.4030900@gmail.com> (raw)

Hello,

I've noticed that an hvm_emulate_one() call (that uses
guest_cpu_user_regs() for it's context) will succeed _without_ modifying
guest_cpu_user_regs()->eip. Again, this is not only happening when
hvm_emulate_one() returns X86EMUL_RETRY (which I'd expect), but also, in
some cases, when it returns no error.

Why would that happen, and what might be an example of an instruction
that could cause that if that's normal behaviour?


Thanks,
Razvan Cojocaru

             reply	other threads:[~2013-10-17  6:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-17  6:50 Razvan Cojocaru [this message]
2013-10-17  9:32 ` Hvm_emulate_one() and guest_cpu_user_regs()->eip Jan Beulich
2013-10-17 10:02   ` 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=525F88A2.4030900@gmail.com \
    --to=rzvncj@gmail.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.