KVM: x86 emulator: fix call near emulation
commit2d033196541959d91802d5a62e63771448101557
authorGleb Natapov <gleb@redhat.com>
Thu, 2 Apr 2009 12:51:46 +0000 (2 15:51 +0300)
committerAvi Kivity <avi@redhat.com>
Wed, 10 Jun 2009 08:48:38 +0000 (10 11:48 +0300)
tree5bbbd5a8082279186439e5011e1db08d327368a8
parent4c26b4cd6ff6c3f7534f2aea9615a561c372ed05
KVM: x86 emulator: fix call near emulation

The length of pushed on to the stack return address depends on operand
size not address size.

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