]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86 emulator: fix cli/sti instruction emulation
authorWei Yongjun <yjwei@cn.fujitsu.com>
Tue, 6 Jul 2010 08:54:19 +0000 (16:54 +0800)
committerAvi Kivity <avi@redhat.com>
Mon, 2 Aug 2010 03:40:26 +0000 (06:40 +0300)
commitfdff4a2560a311abccf680b1bf1ea4d23305df19
treeb47ff3619fe38985273a51e663a81d41674a9ee0
parent64fe4c414bcada921cc4debca0b72233586c9d00
KVM: x86 emulator: fix cli/sti instruction emulation

If IOPL check fail, the cli/sti emulate GP and then we should
skip writeback since the default write OP is OP_REG.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c