KVM: x86 emulator: remove saved_eip
authorGleb Natapov <gleb@redhat.com>
Thu, 18 Mar 2010 13:20:25 +0000 (15:20 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:16:28 +0000 (12:16 +0300)
commitcb404fe0898779ec5fe5e06e90aaddcf40aefad8
tree4ad6b092713780681a74d91113cfcda1919ba739
parent7972995b0c346de76fe260ce0fd6bcc8ffab724a
KVM: x86 emulator: remove saved_eip

c->eip is never written back in case of emulation failure, so no need to
set it to old value.

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