From mboxrd@z Thu Jan 1 00:00:00 1970 From: Razvan Cojocaru Subject: Hvm_emulate_one() and guest_cpu_user_regs()->eip Date: Thu, 17 Oct 2013 09:50:10 +0300 Message-ID: <525F88A2.4030900@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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