KVM: Provide current eip as part of emulator context.
authorGleb Natapov <gleb@redhat.com>
Thu, 18 Mar 2010 13:20:06 +0000 (15:20 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:15:59 +0000 (12:15 +0300)
commit063db061b9b3472c925f09ae3a0a8359b80c2295
treeb38642f43f436c88ab67c5cadd618596d6e9130a
parent9c5372445c1ad4fcdb4128957ec89334223b8113
KVM: Provide current eip as part of emulator context.

Eliminate the need to call back into KVM to get it from emulator.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/include/asm/kvm_emulate.h
arch/x86/kvm/emulate.c
arch/x86/kvm/x86.c