KVM: x86 emulator: advance RIP outside x86 emulator code
authorGleb Natapov <gleb@redhat.com>
Wed, 28 Apr 2010 16:15:39 +0000 (19:15 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:35:35 +0000 (10:35 +0300)
commit95c5588652f7742a21c33d9dcce0e043e057d04f
tree6f948ccbb9e8996d2af5890ecee32b31db72877c
parent3457e4192e367fd4e0da5e9f46f9df85fa99cd11
KVM: x86 emulator: advance RIP outside x86 emulator code

Return new RIP as part of instruction emulation result instead of
updating KVM's RIP from x86 emulator code.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c
arch/x86/kvm/x86.c