]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: x86 emulator: fix pusha instruction emulation
authorWei Yongjun <yjwei@cn.fujitsu.com>
Tue, 15 Jun 2010 01:03:33 +0000 (09:03 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:46:48 +0000 (10:46 +0300)
commitc37eda138473f8c843f2b4aa8da252fdfdaaafa3
tree88ec34bb82c03613dd1c933f1c9f26e9b4d45901
parentbd371396b38ffc4bd6444b0203f33b99d18cedd0
KVM: x86 emulator: fix pusha instruction emulation

emulate pusha instruction only writeback the last
EDI register, but the other registers which need
to be writeback is ignored. This patch fixed it.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/emulate.c