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)
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

Simple merge