[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Hvm_emulate_one() and guest_cpu_user_regs()->eip

  • To: xen-devel@xxxxxxxxxxxxx
  • From: Razvan Cojocaru <rzvncj@xxxxxxxxx>
  • Date: Thu, 17 Oct 2013 09:50:10 +0300
  • Delivery-date: Thu, 17 Oct 2013 06:50:48 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>


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?

Razvan Cojocaru

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.