]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86 emulator: fix unlocked CMPXCHG8B emulation
authorGleb Natapov <gleb@redhat.com>
Sun, 21 Mar 2010 14:58:36 +0000 (16:58 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:16:38 +0000 (12:16 +0300)
commit4a64991e5147d5864eab98e4fe50061dc548441b
treeb4c104cd6340daabee6147c65bc04e62166de37b
parent5511e32e361f9ec8835244c52eebfbb5701a0bef
KVM: x86 emulator: fix unlocked CMPXCHG8B emulation

When CMPXCHG8B is executed without LOCK prefix it is racy. Preserve this
behaviour in emulator too.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c