]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit54c834c02d9710ae8c0ab19c0aaf95f41ef34716
tree6f948ccbb9e8996d2af5890ecee32b31db72877c
parent4c4e829d5e10920284b9b8a9e1bacdfc4fe56dd9
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