]> git.baikalelectronics.ru Git - kernel.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)
commit1265547b8992c746c30c40e300b914efb1ff63d4
tree88ec34bb82c03613dd1c933f1c9f26e9b4d45901
parent0cb92c34d4daabda9ffabfac83f19114291edd22
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