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

[Xen-devel] What's a good way of skipping an instruction for a HVM guest?

  • To: xen-devel@xxxxxxxxxxxxx
  • From: Razvan Cojocaru <rzvncj@xxxxxxxxx>
  • Date: Thu, 16 May 2013 18:04:38 +0300
  • Delivery-date: Thu, 16 May 2013 15:04:57 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>


how do I skip the current instruction from the HV? That is, how do I
know what instruction length to add to guest_cpu_user_regs()->eip to
achieve this?

Could this be done by hvm_emulate_one() with a copy of
guest_cpu_user_regs() and then setting guest_cpu_user_regs()->eip to
the eip in the hvmemul_ctxt? Would this have side-effects?

Razvan Cojocaru

Xen-devel mailing list



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