]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86 emulator: Disable writeback for CMP emulation
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Tue, 12 Apr 2011 15:24:55 +0000 (00:24 +0900)
committerAvi Kivity <avi@redhat.com>
Wed, 11 May 2011 11:57:08 +0000 (07:57 -0400)
commit54189efcf162666f37d369aef8f2bc31289cc8cb
tree0f7d85332966e89520dd00fcee03e66b47fdb15e
parentbd64c5fdf576d180d1b532e835d44b2bb3c128e3
KVM: x86 emulator: Disable writeback for CMP emulation

This stops "CMP r/m, reg" to write back the data into memory.
Pointed out by Avi.

The writeback suppression now covers CMP, CMPS, SCAS.

Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c