KVM: VMX: Advance rip to after an ICEBP instruction
authorHuw Davies <huw@codeweavers.com>
Wed, 16 Apr 2014 09:02:51 +0000 (10:02 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Tue, 22 Apr 2014 21:37:43 +0000 (18:37 -0300)
commitfd2a445a94d2ab6b39fb623dc02fee48d01a565a
tree82f5f73c92f313a19c756ee9664783fa6268dc37
parent63b5cf04f4ede6046cc8771789e5ac40529f30e8
KVM: VMX: Advance rip to after an ICEBP instruction

When entering an exception after an ICEBP, the saved instruction
pointer should point to after the instruction.

This fixes the bug here: https://bugs.launchpad.net/qemu/+bug/1119686

Signed-off-by: Huw Davies <huw@codeweavers.com>
Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/vmx.c